提交 b1b1cf6c authored 作者: Pascal Lamblin's avatar Pascal Lamblin

More information in assertion error

上级 7bf0fa2c
......@@ -329,7 +329,7 @@ def test_grad_int():
int_result = int_func(X, W, b)
float_result = float_func(np.cast[float_type](X), W, b)
assert np.allclose(int_result, float_result)
assert np.allclose(int_result, float_result), (int_result, float_result)
def test_grad_disconnected():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论