code: def transparent_lift(
      init_fn: Callable[..., hk.Params], *, allow_reuse: bool = False
  ) -> Callable[..., hk.Params]:
      r"""Registers parameters in an outer transform without adding a name scope.
  
      Functionally this is equivalent to :func:`lift`\ but without automatically
      adding an additional variable scoping. Note that closing over a module from
      an outer scope is disallowed.
  
      See :func:`lift`\ for more context on when to use ``lift``.
  
      Args:
        init_fn: The ``init`` function from an :class:`Transformed`\ .
        allow_reuse: Allows lifted parameters to be reused from the outer
          :func:`transform_with_state`\ . This can be desirable when e.g. within
          control flow (e.g. ``hk.scan``).
  
      Returns:
        A callable that during ``init`` injects parameter values into the outer
        context and during ``apply`` reuses parameters from the outer context. In
        both cases returns parameter values to be used with an ``apply`` function.
  
      See also:
        - :func:`lift`: Register params with an outer transform.
        - :func:`lift_with_state`: Register params and state with an outer
          transform.
        - :func:`transparent_lift_with_state`: Register params and state with an
          outer transform without a namespace.
      """
  
      base.assert_context("transparent_lift")
      init_fn = add_state_to_init_fn(init_fn)
      lifted = LiftingModule(
          init_fn, transparent=True, allow_reuse=allow_reuse
      )
  
      def fn(*a, **k):
          with base.closure_boundary_stack(
              base.current_frame().frame_id + 1
          ):
              return lifted(*a, **k)[0]
  
      return fn
  
imports: from collections.abc import Mapping, MutableMapping
  import functools
  from typing import Any, Callable, Optional, TypeVar
  from haiku._src import base
  from haiku._src import data_structures
  from haiku._src import module
  from haiku._src import transform
  from haiku._src.typing import LiftingModuleType
label_desc: Use image node_id 5 for calling a global function with example usage: transparent_lift(init_fn) and returns: fn, lifted