提交 eee1320b 编写于 作者: Y Yu Yang

Change code style

上级 559efcdc
......@@ -201,7 +201,7 @@ def batched(reader, batch_size):
:return: the batched reader.
"""
def __impl__():
def batched_reader():
r = reader()
batch = []
for instance in r:
......@@ -212,4 +212,4 @@ def batched(reader, batch_size):
if batch:
yield batch
return __impl__
return batched_reader
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册