class_docstr: Implementation for TrivialAugment (https://arxiv.org/abs/2103.10158)
  Random sample one operation from all_transform
  Random a strength between [0, max_strength]
class_docstr_tok: ["Implementation","for","TrivialAugment","(","https",":","\/\/arxiv.org\/abs\/2103.10158",")","Random","sample","one","operation","from","all_transform","Random","a","strength","between","[","0",",","max_strength","]"]
code: def __call__(self, data):
      if self.data_type == IMAGE:
          return self.augment_image(data)
      elif self.data_type == TEXT:
          return self.augment_text(data)
  
imports: import logging
  import random
  import nltk
  from PIL import Image, ImageEnhance, ImageOps
  from ..constants import AUTOMM, IMAGE, TEXT
label_desc: Use image node_id 2 for calling the TrivialAugment obj's underlying member method code with example usage: obj.__call__(data) and returns: self, self