fix a minor bug of iterating a dictionary

This commit is contained in:
peixu_ren 2020-10-15 22:04:46 -04:00
parent a69dbb2da5
commit 5e23317f11
1 changed files with 1 additions and 1 deletions

View File

@ -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