class_docstr: See :func:`lift` or :func:`lift_with_state`.
class_docstr_tok: ["See",":","func",":","`","lift","`","or",":","func",":","`","lift_with_state","`","."]
code: def __init__(
      self, init_fn, transparent=False, allow_reuse=False, name="lifted"
  ):
      super().__init__(name=name)
      self._init_fn = init_fn
      if transparent:
          self.prefix_name = "/".join(self.module_name.split("/")[:-1])
      else:
          self.prefix_name = self.module_name
      self._allow_reuse = allow_reuse
  
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 1 to create a new LiftingModule object from inherited base classes: hk, LiftingModuleType with example: obj = LiftingModule(init_fn, transparent, allow_reuse, name)