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

fixing test_scan to correctly configure cvm linker

上级 db9dc771
...@@ -2263,10 +2263,11 @@ def test_speed_rnn(): ...@@ -2263,10 +2263,11 @@ def test_speed_rnn():
s_i: s_i+1, s_i: s_i+1,
shared_r: s_rinc, shared_r: s_rinc,
}, },
mode='CVM') mode=theano.Mode(linker='cvm'))
theano.printing.debugprint(f ) theano.printing.debugprint(f )
f_fn = f.fn f_fn = f.fn
t2 = time.time() t2 = time.time()
print f_fn
f_fn(n_calls=L-2) f_fn(n_calls=L-2)
f() #999 to update the profiling timers f() #999 to update the profiling timers
t3 = time.time() t3 = time.time()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论