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