Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Remove white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrochukM committed Dec 9, 2018
1 parent 6678ead commit aa98278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchnlp/utils.py
Expand Up @@ -100,7 +100,7 @@ def pad_batch(batch, padding_index=PADDING_INDEX, dim=0):
batch (:class:`list` of :class:`torch.Tensor`): Batch of tensors to pad.
padding_index (int, optional): Index to pad tensors with.
dim (int, optional): Dimension on to which to concatenate the batch of tensors.
Returns
torch.Tensor, list of int: Padded tensors and original lengths of tensors.
"""
Expand Down

0 comments on commit aa98278

Please sign in to comment.