Shortcuts

Function at::_segment_reduce_backward

Function Documentation

inline at::Tensor at::_segment_reduce_backward(const at::Tensor &grad, const at::Tensor &output, const at::Tensor &data, c10::string_view reduce, const ::std::optional<at::Tensor> &lengths = {}, const ::std::optional<at::Tensor> &offsets = {}, int64_t axis = 0, const ::std::optional<at::Scalar> &initial = ::std::nullopt)

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