You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Janardhan (JIRA)" <ji...@apache.org> on 2017/07/25 18:07:00 UTC

[jira] [Comment Edited] (SYSTEMML-1444) UDFs w/ single output in expressions

    [ 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)