megengine.traced_module.TracedModule.flatten¶
- TracedModule.flatten()[源代码]¶
Get a new TracedModule, which eliminates
GetAttr
and has no hierarchy.- Retruns:
A new
TracedModule
.
Get a new TracedModule, which eliminates GetAttr
and has no hierarchy.
A new TracedModule
.