This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix a minor bug of iterating a dictionary
tags/v1.1.0
peixu_ren
5 years ago
parent
a69dbb2da5
commit
5e23317f11
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/common/seed.py
+ 1
- 1
mindspore/common/seed.py
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
Write
Preview
Loading…
Cancel
Save