code: def Rotate(img, v):  # [-30, 30]
      assert -30 <= v <= 30
      if random.random() > 0.5:
          v = -v
      return img.rotate(v)
  
imports: import random
  import numpy
  import PIL
  import PIL.ImageDraw
  import PIL.ImageEnhance
  import PIL.ImageOps
  import torch
  from PIL import Image
label_desc: Use image node_id 7 for calling a global function with example usage: Rotate(img, v) and returns: img