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

Matthias Boehm commented on SYSTEMML-1663:
------------------------------------------

https://github.com/apache/systemml/commit/eca9dbbb85971af688e81c9254538c53fc429b30

> 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
>            Assignee: Dylan Hutchison
>              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.4.14#64029)

Reply via email to