提交 e067dd67 authored 作者: Frederic's avatar Frederic

simpler test

上级 962f7ed0
......@@ -413,13 +413,9 @@ def test_dnn_valid():
def test_dnn_valid_err():
try:
_params_allgood((1, 2, 4, 4), (1, 1, 2, 2), 'valid',
theano_mode=theano_mode.including("cudnn"),
cls=DnnBase)
assert "Shape error not raised"
except ValueError:
pass
assert_raises(ValueError, _params_allgood, (1, 2, 4, 4), (1, 1, 2, 2),
'valid', theano_mode=theano_mode.including("cudnn"),
cls=DnnBase)
def test_default_conv():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论