megengine.traced_module.node.ModuleNode

class ModuleNode(expr, name=None, orig_name=None)[源代码]

ModuleNode represents the Module objects.

Attributes

expr

The Expr which produces the Node.

name

Return the name of this Node.

owner

Get the Module corresponding to this ModuleNode.

top_graph

Get the parent graph of this Node.

Methods