class_docstr: GridMask class for grid masking augmentation.
class_docstr_tok: ["GridMask","class","for","grid","masking","augmentation","."]
docstr: Randomly rotates mask on given range.
docstr_tok: ["Randomly","rotates","mask","on","given","range","."]
code: def random_rotate(self, mask):
      """Randomly rotates mask on given range."""
  
      angle = self.rotate * tf.random.normal([], -1, 1)
      angle = math.pi * angle / 180
      return image_ops.rotate(
          mask, angle, interpolation=self.interpolation
      )
  
file_path: DALI/docs/examples/use_cases/tensorflow/efficientdet/pipeline/tf/gridmask.py
imports: import math
  import tensorflow
  from tensorflow_addons import image
label_desc: Use image node_id 2 for calling the GridMask obj's underlying member method code with example usage: obj.random_rotate(mask) and returns: image_ops