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
commit
9a781025ec
1 changed files with 1 additions and 1 deletions
  1. +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()
return None
raise NotImplementedError("Dataset {} has not supported api get_class_indexing yet.".format(type(self)))

def reset(self):
"""Reset the dataset for next epoch"""


Loading…
Cancel
Save