Struct TraceableFunction¶
Defined in File function.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::autograd::Node
(Struct Node)
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 autogradVariables
(i.e. apply mostly instantiates and applies other functions).
-
inline virtual bool is_traceable() final¶