class_docstr: Augment an image by a list of augmentors
class_docstr_tok: ["Augment","an","image","by","a","list","of","augmentors"]
code: def get_transform(self, img):
      check_dtype(img)
      assert img.ndim in [2, 3], img.ndim
  
      from .transform import LazyTransform, TransformList
  
      # The next augmentor requires the previous one to finish.
      # So we have to use LazyTransform
      tfms = []
      for idx, a in enumerate(self.augmentors):
          if idx == 0:
              t = a.get_transform(img)
          else:
              t = LazyTransform(a.get_transform)
  
          if isinstance(t, TransformList):
              tfms.extend(t.tfms)
          else:
              tfms.append(t)
      return TransformList(tfms)
  
imports: import os
  import inspect
  import pprint
  from collections import namedtuple
  import weakref
  from ...utils.argtools import log_once
  from ...utils.utils import get_rng
  from ...utils.develop import deprecated
  from ..image import check_dtype
label_desc: Use image node_id 3 for calling the AugmentorList obj's underlying member method code with example usage: obj.get_transform(img) and returns: TransformList