code: def rotate(min_mag: float, max_mag: float) -> OperationBase:
      if min_mag != -max_mag:
          raise ValueError(
              f"{Rotate.__name__} is a symmetric operation that `- min_mag == max_mag`. Got [{min_mag}, {max_mag}]"
          )
      return Rotate(
          None,
          1.0,
          magnitude_range=(0.0, max_mag),
          symmetric_megnitude=True,
      )
  
file_path: kornia/kornia/augmentation/auto/rand_augment/ops.py
imports: from kornia.augmentation.auto.operations import AutoContrast, Brightness, Contrast, Equalize, Invert, OperationBase, Posterize, Rotate, Saturate, Sharpness, ShearX, ShearY, Solarize, SolarizeAdd, TranslateX, TranslateY
label_desc: Use image node_id 5 for calling a global function with example usage: rotate(min_mag, max_mag) and returns: Rotate