提交 3d8c69c9 authored 作者: Frederic Bastien's avatar Frederic Bastien 提交者: sentient07

Fix cycle problem.

上级 1561cf0f
......@@ -156,8 +156,11 @@ optdb.register('merge1', gof.MergeOptimizer(),
# New nodes that don't have infer_shape need that the original node
# also don't have infer_shape
local_useless = gof.optdb.LocalGroupDB(apply_all_opts=True)
optdb.register('useless', gof.optdb.TopoDB(local_useless),
0.6, 'fast_run', 'fast_compile')
optdb.register(
'useless',
gof.optdb.TopoDB(local_useless,
failure_callback=gof.opt.NavigatorOptimizer.warn_inplace),
0.6, 'fast_run', 'fast_compile')
optdb.register('merge1.1', gof.MergeOptimizer(),
0.65, 'fast_run', 'fast_compile', 'merge')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论