Shortcuts

Struct ExtractVariables

Inheritance Relationships

Base Type

  • public IterArgs< ExtractVariables >

Struct Documentation

struct torch::autograd::ExtractVariables : public IterArgs<ExtractVariables>

Public Functions

ExtractVariables(std::vector<bool> &is_var, variable_list &list)
void operator()(const c10::optional<at::Tensor> &x)
void operator()(const at::Tensor &x)
template<typename T>
void operator()(const T &x)

Public Members

std::vector<bool> &is_var_
variable_list &list_

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