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

!5406 Change docstring of OneHot to avoid misunderstanding

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