提交 db81fe35 authored 作者: James Bergstra's avatar James Bergstra

cuda - disabled test_bench_elemwise because it is broken and it is not really a unit test

上级 7d2f6db8
...@@ -261,7 +261,10 @@ class Config(object): ...@@ -261,7 +261,10 @@ class Config(object):
lr = 0.001 lr = 0.001
def test_bench_elemwise(n_iter=1000, **kwargs): if 0:
# commenting out because this is not really a unit test
# and it doesn't run correctly because of a deprecated call to cuda.use()
def test_bench_elemwise(n_iter=1000, **kwargs):
conf = Config() conf = Config()
for k in kwargs: for k in kwargs:
setattr(conf, k, kwargs[k]) setattr(conf, k, kwargs[k])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论