megengine.traced_module.traced_module.InternalGraph.nodes

InternalGraph.nodes(recursive=True)[源代码]

Get the Nodes that constitute this graph.

参数

recursive – whether to get the Nodes in the subgraph. Default: True

返回

A NodeFilter containing all Nodes of this graph.