提交 05e927ef authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Maybe fix scan test?

I'm not sure what this test is expecting. It seems to test that the gpu will magically work and optimize the graph even though we disable InputsToGpuOptimizer (which is obviously not the case). I wonder why it passed before. I wonder if this is the right fix. I also wonder what is it testing exactly. In any case it seems to pass now.
上级 a87a9e5b
......@@ -434,7 +434,7 @@ class T_Scan(unittest.TestCase):
output,
updates=updates,
allow_input_downcast=True,
mode=mode)
mode=mode_with_gpu)
# get random initial values
rng = numpy.random.RandomState(utt.fetch_seed())
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论