code: def _teardown_random():
      """Tears down the deterministic random states set up by ``_setup_random``."""
      global _nest_count
      assert _nest_count > 0, "_setup_random has not been called"
      _nest_count -= 1
      if _nest_count == 0:
          do_teardown()
  
imports: from __future__ import absolute_import
  import atexit
  import functools
  import os
  import random
  import types
  import numpy
  from chainer.backends import cuda
  from chainer.testing import _bundle
label_desc: Use image node_id 8 for calling a global function with example usage: _teardown_random() without return types