class_docstr: Base class for an augmentor
  
  ImageAugmentor should take images of type uint8 in range [0, 255], or
  floating point images in range [0, 1] or [0, 255].
  
  Attributes:
      rng: a numpy :class:`RandomState`
class_docstr_tok: ["Base","class","for","an","augmentor","ImageAugmentor","should","take","images","of","type","uint8","in","range","[","0",",","255","]",",","or","floating","point","images","in","range","[","0",",","1","]","or","[","0",",","255","]",".","Attributes",":","rng",":","a","numpy",":","class",":","`","RandomState","`"]
code: def __init__(self):
      self.reset_state()
  
      # only available on Unix after Python 3.7
      if hasattr(os, "register_at_fork"):
          os.register_at_fork(
              after_in_child=lambda: _reset_augmentor_after_fork(
                  weakref.ref(self)
              )
          )
  
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 1 to create a new ImageAugmentor object from inherited base classes: object with example: obj = ImageAugmentor()