提交 a2bd2c87 编写于 作者: Y YangLuo

Change docstring of OneHot to avoid misunderstanding

上级 7336ed94
......@@ -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.
先完成此消息的编辑!
想要评论请 注册