• Docs >
  • Library API >
  • 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<c10::SymInt>)
  • Edit on GitHub
Shortcuts

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<c10::SymInt>)

Function Documentation

template<typename T, typename = std::enable_if_t<std::is_same_v<T, c10::SymInt>>>
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<c10::SymInt> sum_S = ::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