class_docstr: Create a :class:`Transform` from user-provided functions.
class_docstr_tok: ["Create","a",":","class",":","`","Transform","`","from","user-provided","functions","."]
docstr: Args:
      name (str, optional): the name of this transform
      **kwargs: mapping from `'apply_xxx'` to implementation of such functions.
docstr_tok: ["Args",":","name","(","str",",","optional",")",":","the","name","of","this","transform","*","*","kwargs",":","mapping","from","`","'apply_xxx","'","`","to","implementation","of","such","functions","."]
code: def __init__(self, name=None, **kwargs):
      """
      Args:
          name (str, optional): the name of this transform
          **kwargs: mapping from `'apply_xxx'` to implementation of such functions.
      """
      for k, v in kwargs.items():
          if k.startswith("apply_"):
              setattr(self, k, v)
          else:
              raise KeyError(
                  "Unknown argument '{}' in TransformFactory!".format(k)
              )
      self._name = name
  
imports: import numpy
  import cv2
  from ...utils.argtools import log_once
  from .base import ImageAugmentor, _default_repr
label_desc: Use image node_id 1 to create a new TransformFactory object from inherited base classes: Transform with example: obj = TransformFactory(name)