Shortcuts

Struct TraceableFunction

Inheritance Relationships

Base Type

Struct Documentation

struct torch::autograd::TraceableFunction : public torch::autograd::Node

See Node::is_traceable() for definition.

Public Functions

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).

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