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
!318
Add get_class_indexing exception
Merge pull request
!318
from pengyanjun/fix_get_cladd_indexing_warning
tags/v0.2.0-alpha
mindspore-ci-bot
Gitee
6 years ago
parent
fe4cde6b1e
950d75e376
commit
9a781025ec
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/engine/datasets.py
+ 1
- 1
mindspore/dataset/engine/datasets.py
View File
@@ -827,7 +827,7 @@ class Dataset:
"""
if self.input:
return self.input[0].get_class_indexing()
r
eturn None
r
aise NotImplementedError("Dataset {} has not supported api get_class_indexing yet.".format(type(self)))
def reset(self):
"""Reset the dataset for next epoch"""
Write
Preview
Loading…
Cancel
Save