code: def shear_y(probability: float, magnitude: int) -> OperationBase:
      magnitudes = linspace(-0.3, 0.3, 11) * 180.0
      return ShearY(
          None,
          probability,
          magnitude_range=(
              magnitudes[magnitude].item(),
              magnitudes[magnitude + 1].item(),
          ),
          symmetric_megnitude=False,
      )
  
file_path: kornia/kornia/augmentation/auto/autoaugment/ops.py
imports: from kornia.augmentation.auto.operations import AutoContrast, Brightness, Contrast, Equalize, Invert, OperationBase, Posterize, Rotate, Saturate, Sharpness, ShearX, ShearY, Solarize, TranslateX, TranslateY
  from kornia.core import linspace
label_desc: Use image node_id 2 for calling a global function with example usage: shear_y(probability, magnitude) and returns: ShearY