megengine.traced_module.TracedModule.modules

TracedModule.modules(**kwargs)

Returns an iterable for all the modules within this module, including itself.

返回类型

Iterable[Module]