Merge branch 'feature/clean_mnist_v2' into feature/tester

avx_docs
Yu Yang 8 years ago
commit 75466f4efb

@ -201,7 +201,7 @@ def batched(reader, batch_size):
:return: the batched reader. :return: the batched reader.
""" """
def __impl__(): def batched_reader():
r = reader() r = reader()
batch = [] batch = []
for instance in r: for instance in r:
@ -212,4 +212,4 @@ def batched(reader, batch_size):
if batch: if batch:
yield batch yield batch
return __impl__ return batched_reader

Loading…
Cancel
Save