code: def fix_random(*, setup_method="setUp", teardown_method="tearDown"):
      """Decorator that fixes random numbers in a test.
  
      This decorator can be applied to either a test case class or a test method.
      It should not be applied within ``condition.retry`` or
      ``condition.repeat``.
      """
      return _fix_random(setup_method, teardown_method)
  
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 11 for calling a global function with example usage: fix_random() and returns: _fix_random