提交 9080a7ad authored 作者: --global's avatar --global

Add comment to local_dot22_to_dot22scalar

上级 fe306e3f
...@@ -1984,6 +1984,13 @@ _dot22scalar = Dot22Scalar() ...@@ -1984,6 +1984,13 @@ _dot22scalar = Dot22Scalar()
@local_optimizer([T.mul]) @local_optimizer([T.mul])
def local_dot22_to_dot22scalar(node): def local_dot22_to_dot22scalar(node):
""" """
:note: Previous attempts to alter this optimization to replace dot22 with
gemm instead of dot22scalar resulted in some Scan nodes being
duplicated and the ScanSaveMem optimization never running on them,
resulting in highly increased memory usage. Until this issue is
resolved, this optimization should keep using dot22scalar instead of
gemm.
:note: we upcast the scalar if after the multiplication with the :note: we upcast the scalar if after the multiplication with the
dot this give the same type. dot this give the same type.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论