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

optdb - added constant merge between canonicalize and stabilize to fix bug in SdA

上级 f8414635
...@@ -131,7 +131,7 @@ optdb.register('merge1', gof.MergeOptimizer(), ...@@ -131,7 +131,7 @@ optdb.register('merge1', gof.MergeOptimizer(),
0, 'fast_run', 'fast_compile') 0, 'fast_run', 'fast_compile')
optdb.register('canonicalize', gof.EquilibriumDB(), # rearranges elemwise expressions optdb.register('canonicalize', gof.EquilibriumDB(), # rearranges elemwise expressions
1, 'fast_run') 1, 'fast_run')
optdb.register('merge1.2', gof.MergeOptimizer(skip_const_merge=True), optdb.register('merge1.2', gof.MergeOptimizer(skip_const_merge=False),
1.2, 'fast_run', 'fast_compile') 1.2, 'fast_run', 'fast_compile')
optdb.register('stabilize', gof.EquilibriumDB(), # replace unstable subgraphs optdb.register('stabilize', gof.EquilibriumDB(), # replace unstable subgraphs
1.5, 'fast_run') 1.5, 'fast_run')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论