Shortcuts

Function at::segment_reduce_outf

Function Documentation

inline at::Tensor &at::segment_reduce_outf(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, bool unsafe, const ::std::optional<at::Scalar> &initial, at::Tensor &out)

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