Shortcuts

Function at::segment_reduce_out

Function Documentation

inline at::Tensor &at::segment_reduce_out(at::Tensor &out, const at::Tensor &data, c10::string_view reduce, const ::std::optional<at::Tensor> &lengths = {}, const ::std::optional<at::Tensor> &indices = {}, const ::std::optional<at::Tensor> &offsets = {}, int64_t axis = 0, bool unsafe = false, 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