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 example error
tags/v1.1.0
Yi Huaijie
5 years ago
parent
550c3fe0d2
commit
f3b77e6974
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
@@ -207,7 +207,7 @@ def _get_graph_seed(op_seed, kernel_name):
Interger. The current graph-level seed.
Examples:
>>> _get_seed(seed, 'normal')
>>> _get_
graph_
seed(seed, 'normal')
"""
global_seed = get_seed()
if global_seed is None:
Write
Preview
Loading…
Cancel
Save