Shortcuts

Function at::_pad_packed_sequence

Function Documentation

inline ::std::tuple<at::Tensor, at::Tensor> at::_pad_packed_sequence(const at::Tensor &data, const at::Tensor &batch_sizes, bool batch_first, const at::Scalar &padding_value, int64_t total_length)

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