code: def generate_gamma_random_number(
      shape: float = 1.0, scale: float = 1.0, size: int = 1
  ) -> np.ndarray:
      """Generates an Erlang distribution based on gamma values.
  
      Args:
          shape: Shape parameter.
          scale: Scaling of the distribution.
          size: Size of array.
  
      Returns:
          (np.ndarray): An Erlang distribution array.
  
      """
  
      gamma_array = np.random.gamma(shape, scale, size)
  
      return gamma_array
  
imports: import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: generate_gamma_random_number(shape, scale, size) and returns: gamma_array