Function at::segment_reduce¶
Defined in File Functions.h
Function Documentation¶
-
inline at::Tensor at::segment_reduce(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)¶