提交 8873906c authored 作者: carriepl's avatar carriepl

Add section on PushOutSeqScan

上级 36c89103
...@@ -206,6 +206,18 @@ it to the outer function to be executed only once, before the Scan Op, ...@@ -206,6 +206,18 @@ it to the outer function to be executed only once, before the Scan Op,
reduces the amount of computation that needs to be performed. reduces the amount of computation that needs to be performed.
PushOutSeqScan
--------------
This optimization resembles PushOutNonSeqScan but it tries to push, out of
the inner function, the computation that only relies on sequence and
non-sequence inputs. The idea behing this optimization is that, when it is
possible to do so, it is generally more computationnaly efficient to perform
a single operation on a large tensor rather then perform that same operation
many times on many smaller tensors. However, this optimization can lead to
increased memory usage.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论