def __init__(self, get_transform):
        """
        Args:
            get_transform (img -> Transform): a function which will be used to instantiate a Transform.
        """
        self.get_transform = get_transform
        self._transform = None

        Args:
            get_transform (img -> Transform): a function which will be used to instantiate a Transform.
        
tensorpack/dataflow/imgaug/transform.py