[ https://issues.apache.org/jira/browse/SYSTEMML-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16159670#comment-16159670 ]
Glenn Weidner commented on SYSTEMML-1747: ----------------------------------------- Related commit [988366d|https://github.com/apache/systemml/commit/988366de0300c43ec5b01e129576278c59fa49be]. > New rewrite and performance binary outer operations > --------------------------------------------------- > > Key: SYSTEMML-1747 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1747 > Project: SystemML > Issue Type: Task > Reporter: Matthias Boehm > > In a number of scripts we see unnecessary column replication as a > pre-processing steps for matrix-vector operations although these operations > could be directly realized via {{outer}}. Hence, this task aims to > automatically rewrite such patterns as follows > {code} > (a %*% ones) == b) -> outer(a, b, "==") > {code} > which applies to any binary comparison, arithmetic or builtin operation. > Furthermore, this task should also cleanup unnecessary inefficiencies in the > existing outer operations (e.g., unnecessary deep vector copies, avoid binary > search for small number of rhs columns). -- This message was sent by Atlassian JIRA (v6.4.14#64029)