提交 9b36f381 authored 作者: carriepl's avatar carriepl

Add section on remove_constant_and_unused_inputs_scan

上级 872799cd
......@@ -186,6 +186,15 @@ To synthesise :
Optimizations
=============
remove_constants_and_unused_inputs_scan
---------------------------------------
This optimization serves two purposes, The first is to remove a Scan Op's
unused inputs. The second it to take a Scan Op's constant inputs and remove
them, instead injecting the constants directly into the graph or the Scan
Op's inner function. This will allow constant folding to happen inside the
inner function.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论