Shortcuts

Template Function torch::autograd::to_output_type(std::vector<c10::optional<Variable>>&)

Function Documentation

template<typename T>
std::enable_if<std::is_same<T, variable_list>::value, T>::type torch::autograd::to_output_type(std::vector<c10::optional<Variable>> &output_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