提交 b7871cf2 authored 作者: carriepl's avatar carriepl

Add section on PushOutNonSeqScan

上级 9b36f381
...@@ -195,6 +195,16 @@ them, instead injecting the constants directly into the graph or the Scan ...@@ -195,6 +195,16 @@ 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 Op's inner function. This will allow constant folding to happen inside the
inner function. inner function.
PushOutNonSeqScan
-----------------
This optimizations pushes, out of Scan's inner function and into the outer
function, computation that depends only on non-sequence inputs. Such
computation ends up being done every iteration on the same values so moving
it to the outer function to be executed only once, before the Scan Op,
reduces the amount of computation that needs to be performed.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论