提交 4177e805 编写于 作者: Y Yibing Liu

Add line feed character in the doc of cross_entropy

上级 c67c54a8
......@@ -403,8 +403,8 @@ def cross_entropy(input, label, **kwargs):
A 2-D tensor with shape [N x 1], the cross entropy loss.
Raises:
`ValueError`: 1) If the 1st dimension of `input` and `label` are not equal; 2) If
`soft_label == true`, and the 2nd dimension of `input` and `label` are not
`ValueError`: 1) If the 1st dimension of `input` and `label` are not equal; 2) If \
`soft_label == true`, and the 2nd dimension of `input` and `label` are not \
equal; 3) If `soft_label == false`, and the 2nd dimension of `label` is not 1.
Examples:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册