systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janardhan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SYSTEMML-1444) UDFs w/ single output in expressions
Date Tue, 25 Jul 2017 18:07:00 GMT

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

Janardhan edited comment on SYSTEMML-1444 at 7/25/17 6:06 PM:
--------------------------------------------------------------

Thank you sir, I too am in favour of special handling of functions with single output, but
also thinking about functions with multiple outputs to be allowed in the expressions provided
with specifying in the dml itself which particular output needs to be used in the expression.

may be it might look like this: (here we want to use output matrix `X` in the expression.
{code}
 udf = function(int a, int b) returns (matrix[double] X, int x)
 y = udf(a, b)[X] + c
{code}

[~dusenberrymw] too might like this feature.



was (Author: return_01):
Sir, I too am in favour of special handling of functions with single output, but also thinking
about functions with multiple outputs to be allowed in the expressions provided with specifying
in the dml itself which particular output needs to be used in the expression.

may be it might look like this: (here we want to use output matrix `X` in the expression.
{code}
 udf = function(int a, int b) returns (matrix[double] X, int x)
 y = udf(a, b)[X] + c
{code}

[~dusenberrymw] too might like this feature.


> UDFs w/ single output in expressions
> ------------------------------------
>
>                 Key: SYSTEMML-1444
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1444
>             Project: SystemML
>          Issue Type: Sub-task
>          Components: APIs, Compiler, Runtime
>            Reporter: Matthias Boehm
>            Assignee: Janardhan
>             Fix For: SystemML 1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message