NodePath

class NodePath

Helper class to set up autocomplete for finding nodes in notebooks and REPL. See Inspecting the graph structure for more discussion and examples. Dynamically generated attributes:

<node_name>

One attribute per child node, having the name of that child.

_code

For submodules, the compiled GraphModule code. The partial stacktrace of the original model for other nodes.

_shape

The shape of the Tensor observed at this node during compilation, if the value was a Tensor.