[ 
https://issues.apache.org/jira/browse/SYSTEMML-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045463#comment-16045463
 ] 

Dylan Hutchison commented on SYSTEMML-1663:
-------------------------------------------

See PR at https://github.com/apache/systemml/pull/540

> New simplification rewrite for binary multiplication chains
> -----------------------------------------------------------
>
>                 Key: SYSTEMML-1663
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1663
>             Project: SystemML
>          Issue Type: Sub-task
>          Components: Compiler
>            Reporter: Matthias Boehm
>              Labels: beginner
>             Fix For: SystemML 1.0
>
>
> There are various scripts that use chains of binary element-wise 
> multiplications such as {{A * B * B}} or {{B * A * B}}, which are currently 
> compiled to {{(A * B) * B}} and {{(B * A) * B}}, respectively. We should 
> explicitly reason about and simply this to expose the unary operation {{B^2}} 
> which can be evaluated much more efficiently, in case of both singlenode and 
> distributed operations. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to