code: def shear_y(x, shear):
      shear = (2 * shear - 1) * 0.3
      return x.transform(x.size, Image.AFFINE, (1, 0, 0, shear, 1, 0))
  
imports: import random
  from collections import namedtuple
  import numpy
  from PIL import Image, ImageOps, ImageEnhance, ImageFilter
label_desc: Use image node_id 20 for calling a global function with example usage: shear_y(x, shear) and returns: x