提交 9d210f3b authored 作者: Frederic's avatar Frederic

skip cudnn test when not avail

上级 fdcc463e
...@@ -29,6 +29,8 @@ else: ...@@ -29,6 +29,8 @@ else:
def test_dnn_conv_desc_merge(): def test_dnn_conv_desc_merge():
if not cuda.dnn.dnn_available():
raise SkipTest(cuda.dnn.dnn_available.msg)
img_shp = T.as_tensor_variable( img_shp = T.as_tensor_variable(
numpy.asarray([2, 1, 8, 8]).astype('int64')) numpy.asarray([2, 1, 8, 8]).astype('int64'))
kern_shp = T.as_tensor_variable( kern_shp = T.as_tensor_variable(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论