Rate this Page

Struct TraceableFunction#

Inheritance Relationships#

Base Type#

Struct Documentation#

structTraceableFunction:publictorch::autograd::Node#

SeeNode::is_traceable() for definition.

Public Functions

inlinevirtualboolis_traceable()final#

Returns true if this function is traceable.

An op is traceable if all operations happening withinapply() are performed on autogradVariables (i.e. apply mostly instantiates and applies other functions).

inlineexplicitNode(uint64_tsequence_nr,edge_list&&next_edges=edge_list())#

Construct a newNode with the givennext_edges

inlineexplicitNode(edge_list&&next_edges=edge_list())#
Node(constNode&other)=delete#

Nodes are neither copyable nor moveable.

Node(Node&&other)=delete#