提交 e8b98aa2 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Actually turn off compute_test_value during optimization.

上级 4fdf276b
...@@ -939,7 +939,7 @@ class FunctionMaker(object): ...@@ -939,7 +939,7 @@ class FunctionMaker(object):
# optimize the env # optimize the env
compute_test_value_orig = theano.config.compute_test_value compute_test_value_orig = theano.config.compute_test_value
try: try:
theano.config.compute_test_value = "ignore" theano.config.compute_test_value = "off"
start_optimizer = time.time() start_optimizer = time.time()
optimizer(env) optimizer(env)
end_optimizer = time.time() end_optimizer = time.time()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论