Shortcuts

Struct TraceableFunction

Inheritance Relationships

Base Type

Struct Documentation

struct TraceableFunction : public torch::autograd::Node

See Node::is_traceable() for definition.

Public Functions

inline virtual bool is_traceable() final

Returns true if this function is traceable.

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

inline explicit Node(uint64_t sequence_nr, edge_list &&next_edges = edge_list())

Construct a new Node with the given next_edges

inline explicit Node(edge_list &&next_edges = edge_list())
Node(const Node &other) = delete

Nodes are neither copyable nor moveable.

Node(Node &&other) = delete

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources