code: def rotate(image, degrees):
      """Equivalent of PIL Rotation."""
      # Convert from degrees to radians
      degrees_to_radians = math.pi / 180.0
      radians = degrees * degrees_to_radians
  
      # In practice, we should randomize the rotation degrees by flipping
      # it negatively half the time, but that's done on 'degrees' outside
      # of the function.
      image = tfa.image.transform_ops.rotate(wrap(image), radians)
      return unwrap(image)
  
imports: import math
  import tensorflow
  import tensorflow_addons
label_desc: Use image node_id 12 for calling a global function with example usage: rotate(image, degrees) and returns: unwrap