szha commented on a change in pull request #13209: [WIP] Allow dataloader
iterator to be reused
URL: https://github.com/apache/incubator-mxnet/pull/13209#discussion_r232466260
##########
File path: python/mxnet/gluon/data/dataloader.py
##########
@@ -244,6 +270,35 @@ def __len__(self):
def __del__(self):
self.shutdown()
+ def reset(self):
Review comment:
assert not shutdown
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services