Shortcuts

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

Function Documentation

Warning

doxygenfunction: Unable to resolve function “torch::autograd::to_output_type” with arguments (std::vector<std::optional<Variable>>&) in doxygen xml output for project “PyTorch” from directory: /var/lib/jenkins/workspace/docs/cpp/build/xml. Potential matches:

- template<typename T> std::enable_if_t<std::is_same_v<T, Variable>, T> to_output_type(std::vector<std::optional<Variable>> &output_list)
- template<typename T> std::enable_if_t<std::is_same_v<T, variable_list>, T> to_output_type(std::vector<std::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