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 comment error
tags/v0.7.0-beta
huangxinjing
Gitee
5 years ago
parent
025937b4c8
commit
f6eeb212d8
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/initializer.py
+ 1
- 1
mindspore/common/initializer.py
View File
@@ -163,7 +163,7 @@ def _calculate_in_and_out(arr):
"""
dim = len(arr.shape)
if dim < 2:
raise ValueError("If initialize data with xavier uniform, the dimension of data must greater than 1.")
raise ValueError("If initialize data with xavier uniform, the dimension of data must
be
greater than 1.")
n_in = arr.shape[1]
n_out = arr.shape[0]
Write
Preview
Loading…
Cancel
Save