提交 9a781025 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!318 Add get_class_indexing exception

Merge pull request !318 from pengyanjun/fix_get_cladd_indexing_warning
......@@ -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"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册