code: def _reset_augmentor_after_fork(aug_ref):
      aug = aug_ref()
      if aug:
          aug.reset_state()
  
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 for calling a global function with example usage: _reset_augmentor_after_fork(aug_ref) without return types