Skip to content

Commit

Permalink
Fix small typos in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Mar 13, 2018
1 parent d3a4ec4 commit 3c827ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opennmt/utils/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ def batch_parallel_dataset(batch_size,
Args:
batch_size: The batch size.
batch_type: The training batching stragety to use: can be "examples" or
batch_type: The training batching strategy to use: can be "examples" or
"tokens".
batch_multiplier: The batch size multiplier to prepare splitting accross
replicated graph parts.
bucket_width: The sequence length bucket width.
padded_shapes: The padded shapes for this dataset. If ``None``, the shapes
are automatically infered from the dataset output shapes.
are automatically inferred from the dataset output shapes.
features_length_fn: A callable mapping features to a sequence length.
labels_length_fn: A callable mapping labels to a sequence length.
Expand Down

0 comments on commit 3c827ad

Please sign in to comment.