提交 67b628aa authored 作者: Frederic Bastien's avatar Frederic Bastien

Allow the theano flags optimizer=None to work.

上级 770f9d2c
...@@ -77,6 +77,7 @@ OPT_STABILIZE.position_cutoff = 1.5000001 ...@@ -77,6 +77,7 @@ OPT_STABILIZE.position_cutoff = 1.5000001
predefined_optimizers = { predefined_optimizers = {
None : lambda env: None, None : lambda env: None,
'None' : lambda env: None,
'merge' : gof.MergeOptimizer(), 'merge' : gof.MergeOptimizer(),
'fast_run' : OPT_FAST_RUN, 'fast_run' : OPT_FAST_RUN,
'fast_run_stable' : OPT_FAST_RUN_STABLE, 'fast_run_stable' : OPT_FAST_RUN_STABLE,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论