code: def shear_level_to_args(MAX_LEVEL, replace_value):
      def level_to_args(level):
          level = (level / MAX_LEVEL) * 0.3
          if np.random.random() > 0.5:
              level = -level
          return (level, replace_value)
  
      return level_to_args
  
imports: import cv2
  import numpy
label_desc: Use image node_id 17 for calling a global function with example usage: shear_level_to_args(MAX_LEVEL, replace_value) and returns: level_to_args, level,  replace_value