code: def random_shear(min, max, prng=DEFAULT_PRNG):
      """Construct a random 2D shear matrix with shear angle between -max and max.
      Args
          min:  the minimum shear angle in radians.
          max:  the maximum shear angle in radians.
          prng: the pseudo-random number generator to use.
      Returns
          a homogeneous 3 by 3 shear matrix
      """
      return shear(prng.uniform(min, max))
  
file_path: ImageAI/imageai_tf_deprecated/Detection/keras_retinanet/utils/transform.py
imports: import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: random_shear(min, max, prng) and returns: shear