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","`"]
docstr: Reset rng and other state of the augmentor.
  
  Similar to :meth:`DataFlow.reset_state`, the caller of Augmentor
  is responsible for calling this method (once or more times) in the **process that uses the augmentor**
  before using it.
  
  If you use a built-in augmentation dataflow (:class:`AugmentImageComponent`, etc),
  this method will be called in the dataflow's own `reset_state` method.
  
  If you use Python≥3.7 on Unix, this method will be automatically called after fork,
  and you do not need to bother calling it.
docstr_tok: ["Reset","rng","and","other","state","of","the","augmentor",".","Similar","to",":","meth",":","`","DataFlow.reset_state","`",",","the","caller","of","Augmentor","is","responsible","for","calling","this","method","(","once","or","more","times",")","in","the","*","*","process","that","uses","the","augmentor","*","*","before","using","it",".","If","you","use","a","built-in","augmentation","dataflow","(",":","class",":","`","AugmentImageComponent","`",",","etc",")",",","this","method","will","be","called","in","the","dataflow","'s","own","`","reset_state","`","method",".","If","you","use","Python\u22653.7","on","Unix",",","this","method","will","be","automatically","called","after","fork",",","and","you","do","not","need","to","bother","calling","it","."]
code: def reset_state(self):
      """
      Reset rng and other state of the augmentor.
  
      Similar to :meth:`DataFlow.reset_state`, the caller of Augmentor
      is responsible for calling this method (once or more times) in the **process that uses the augmentor**
      before using it.
  
      If you use a built-in augmentation dataflow (:class:`AugmentImageComponent`, etc),
      this method will be called in the dataflow's own `reset_state` method.
  
      If you use Python≥3.7 on Unix, this method will be automatically called after fork,
      and you do not need to bother calling it.
      """
      self.rng = get_rng(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 3 for calling the ImageAugmentor obj's underlying member method code with example usage: obj.reset_state() without return types