forked from mindspore-Ecosystem/mindspore
fix a minor bug of iterating a dictionary
This commit is contained in:
parent
a69dbb2da5
commit
5e23317f11
|
@ -30,7 +30,7 @@ def _reset_op_seed():
|
|||
"""
|
||||
Reset op seeds in the kernel's dictionary.
|
||||
"""
|
||||
for kernel_name, op_seed in _KERNEL_SEED.items():
|
||||
for (kernel_name, op_seed) in _KERNEL_SEED:
|
||||
_KERNEL_SEED[(kernel_name, op_seed)] = op_seed
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue