Shortcuts

Function at::_pack_padded_sequence

Function Documentation

inline ::std::tuple<at::Tensor, at::Tensor> at::_pack_padded_sequence(const at::Tensor &input, const at::Tensor &lengths, bool batch_first)

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