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
Change docstring of OneHot to avoid misunderstanding
tags/v1.0.0
YangLuo
5 years ago
parent
7336ed94fd
commit
a2bd2c8721
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/dataset/transforms/c_transforms.py
+ 1
- 1
mindspore/dataset/transforms/c_transforms.py
View File
@@ -32,7 +32,7 @@ class OneHot(cde.OneHotOp):
Args:
num_classes (int): Number of classes of the label
it should be bigger than
or equal to label class number
.
it should be bigger than
largest label number in dataset
.
Raises:
RuntimeError: feature size is bigger than num_classes.
Write
Preview
Loading…
Cancel
Save