For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python class
TransparentModule
TransparentModule
class max.experimental.nn.TransparentModule
Bases: Module
A Module that drops its own name from its descendants’ paths.
Its children and parameters appear attached directly to its parent, with
this module’s own attribute name dropped from their qualified paths. Its
rebased paths must not collide with a sibling’s (enforced by
parameters). Set
name_transparent to False on an instance to keep the name and
behave as an ordinary opaque Module.
name_transparent
name_transparent: bool = True
Settable per instance. A module that holds either separate weights or
one fused weight sets this to False in the fused case.