提交 d53c3a9a authored 作者: Frederic's avatar Frederic

flake8

上级 5dcd3999
...@@ -1676,11 +1676,11 @@ def local_fill_to_alloc(node): ...@@ -1676,11 +1676,11 @@ def local_fill_to_alloc(node):
# get affected by less canonicalized graph due to alloc. # get affected by less canonicalized graph due to alloc.
compile.optdb.register('local_fill_to_alloc', compile.optdb.register('local_fill_to_alloc',
in2out(local_fill_to_alloc), in2out(local_fill_to_alloc),
1.51, 'fast_run')#, 'canonicalize') 1.51, 'fast_run')
# Needed to clean some extra alloc added by local_fill_to_alloc # Needed to clean some extra alloc added by local_fill_to_alloc
compile.optdb.register('local_elemwise_alloc', compile.optdb.register('local_elemwise_alloc',
in2out(local_elemwise_alloc), in2out(local_elemwise_alloc),
1.52, 'fast_run')#, 'canonicalize') 1.52, 'fast_run')
@register_canonicalize("fast_compile") @register_canonicalize("fast_compile")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论