forked from mindspore-Ecosystem/mindspore
!740 Fix gpu send data twice problem
Merge pull request !740 from xiefangqi/md_fix_gpu_issue1
This commit is contained in:
commit
77acb44b23
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue