提交 b1f36dbc authored 作者: RadhikaG's avatar RadhikaG 提交者: Bryn Keller

Fixed whitespace in confusion matrix docstring.

上级 9a0e0f39
......@@ -2445,7 +2445,6 @@ def confusion_matrix(actual, pred):
[array([[0, 0, 1],
[2, 1, 0],
[0, 0, 1]]), array([ 0., 1., 2.])]
"""
if actual.type.ndim != 1:
raise ValueError('actual must be 1-d tensor variable')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论