input: from typing import List
  
  def generate_random_array() -> List[List[int]]:
      """Generate a 3x3 array of random integers ranging from 1 to 5 using the NumPy library.
      >>> generate_random_array()
      [[1, 5, 3],
       [2, 4, 1],
       [5, 3, 2]]
      """
      import numpy as np
      return np.random.randint(1, 6, size=(3,3)).tolist()
output:     import numpy as np
      return np.random.randint(1, 6, size=(3,3)).tolist()