提交 faef4935 authored 作者: Frederic Bastien's avatar Frederic Bastien

Tell in the printing that we used teh cvm

上级 04de009f
...@@ -2539,7 +2539,7 @@ def test_speed_rnn(): ...@@ -2539,7 +2539,7 @@ def test_speed_rnn():
t2 = time.time() t2 = time.time()
f(r) f(r)
t3 = time.time() t3 = time.time()
print 'theano (scan)', t3 - t2 print 'theano (scan, cvm)', t3 - t2
if 1: if 1:
r = numpy.arange(L*N).astype(theano.config.floatX).reshape(L,N) r = numpy.arange(L*N).astype(theano.config.floatX).reshape(L,N)
...@@ -2566,7 +2566,7 @@ def test_speed_rnn(): ...@@ -2566,7 +2566,7 @@ def test_speed_rnn():
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()
print 'theano (updates)', t3 - t2 print 'theano (updates, cvm)', t3 - t2
print shared_r.get_value() print shared_r.get_value()
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论