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
!7354
fix example error
Merge pull request
!7354
from yihuaijie/master
tags/v1.1.0
mindspore-ci-bot
Gitee
5 years ago
parent
12f055d172
f3b77e6974
commit
cc770253f2
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