!740 Fix gpu send data twice problem

Merge pull request !740 from xiefangqi/md_fix_gpu_issue1
This commit is contained in:
mindspore-ci-bot 2020-04-27 16:44:31 +08:00 committed by Gitee
commit 77acb44b23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class Iterator:
return self.depipeline.GetNumClasses()
def __deepcopy__(self, memo):
return Iterator(copy.deepcopy(self.dataset, memo))
return self
class DictIterator(Iterator):