code: def _make_rng(self, name: str, error_type: Exception) -> jax.Array:
      if not self.is_valid():
          raise errors.TraceContextError(
              "Cannot use Rngs from a different trace level"
          )
      if name not in self._rngs:
          if "default" not in self._rngs:
              raise error_type(
                  f"No RNG named {name!r} or 'default' found in Rngs."
              )
          stream = self._rngs["default"]
      else:
          stream = self._rngs[name]
  
      return stream.make_rng()
  
imports: from __future__ import annotations
  import dataclasses
  import hashlib
  import typing
  import jax
  import numpy
  from flax.experimental.nnx.nnx import errors, filterlib, tracers
label_desc: Use image node_id 2 for calling the Rngs obj's underlying member method code with example usage: obj._make_rng(name, error_type) and returns: stream