There was an error while loading. Please reload this page.
1 parent a35f507 commit a8e6610Copy full SHA for a8e6610
torch/nn/utils/rnn.py
@@ -89,7 +89,7 @@ def pad_packed_sequence(sequence, batch_first=False):
89
It is an inverse operation to :func:`pack_padded_sequence`.
90
91
The returned Variable's data will be of size TxBx*, where T is the length
92
- of the longest sequence and B is the batch size. If ``batch_size`` is True,
+ of the longest sequence and B is the batch size. If ``batch_first`` is True,
93
the data will be transposed into BxTx* format.
94
95
Batch elements will be ordered decreasingly by their length.
0 commit comments