Change the default value of the parameter 'drop_last' in 'paddle.batch' to False.

guochaorong-patch-1
Zhen Wang 8 years ago
parent 79d797fde9
commit 186919016b

@ -15,7 +15,7 @@
__all__ = ['batch']
def batch(reader, batch_size, drop_last=True):
def batch(reader, batch_size, drop_last=False):
"""
Create a batched reader.

Loading…
Cancel
Save