Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
typo: missing "if" in drop_last doc (#5284)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgessler authored Jun 25, 2021
1 parent a246e27 commit 42d96df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allennlp/data/data_loaders/multiprocess_data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class MultiProcessDataLoader(DataLoader):
When `batch_sampler` is unspecified, this option can be combined with `batch_size`
and `shuffle` to control automatic batch sampling.
If `True`, the last batch will be dropped it doesn't contain a full `batch_size`
If `True`, the last batch will be dropped if it doesn't contain a full `batch_size`
number of `Instance`s.
shuffle: `bool`, optional (default = `False`)
Expand Down

0 comments on commit 42d96df

Please sign in to comment.