Template Function at::symint::_nested_from_padded_tensor(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, const ::std::optional<at::Tensor>&, const ::std::optional<at::Tensor>&, ::std::optional<int64_t>)¶
Defined in File Functions.h
Function Documentation¶
-
template<typename T, typename = std::enable_if_t<std::is_same_v<T, int64_t>>>
at::Tensor at::symint::_nested_from_padded_tensor(const at::Tensor &padded, const at::Tensor &offsets, const at::Tensor &dummy, int64_t ragged_idx = 1, const ::std::optional<at::Tensor> &min_seqlen = {}, const ::std::optional<at::Tensor> &max_seqlen = {}, ::std::optional<int64_t> sum_S = ::std::nullopt)¶