code: def set_rng(new_rng):
      """Set the package-level random number generator.
  
      Parameters
      ----------
      new_rng : ``numpy.random`` or a :class:`numpy.random.RandomState` instance
          The random number generator to use.
      """
      global _rng
      _rng = new_rng
  
label_desc: Use image node_id 2 for calling a global function with example usage: set_rng(new_rng) without return types