Shortcuts

Function torch::autograd::_wrap_outputs

Function Documentation

std::vector<c10::optional<Variable>> torch::autograd::_wrap_outputs(const variable_list &input_vars, const std::unordered_set<at::TensorImpl*> &non_differentiable, const std::unordered_set<at::TensorImpl*> &dirty_inputs, const at::ArrayRef<c10::optional<Variable>> raw_outputs, const std::shared_ptr<Node> &cdata, _jvp_fn_t jvp_user_function)

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