提交 18691901 编写于 作者: Z Zhen Wang

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

上级 79d797fd
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册