You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Mike Dusenberry (JIRA)" <ji...@apache.org> on 2017/05/03 23:32:04 UTC

[jira] [Commented] (SYSTEMML-1584) Add Scala Script.out(...) method that accepts Lists.

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

Mike Dusenberry commented on SYSTEMML-1584:
-------------------------------------------

Also note that we can always have the user unpack a list from Scala via {{out(myOutputsList: _*)}}.  Just a bit opaque...

> Add Scala Script.out(...) method that accepts Lists.
> ----------------------------------------------------
>
>                 Key: SYSTEMML-1584
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1584
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Mike Dusenberry
>
> Currently, we have {{Script.out(...)}} methods that accept one or many String arguments.  We should add method that also accepts a list of Strings.  This would make it easier to define a map of inputs and a list of outputs in one location, and then pass these into the appropriate {{in}} and {{out}} methods elsewhere.  Likewise, it would be nice to be able to use the same list to get the results after running an algorithm, although of course this may not be possible with the current {{getTuple}} methods.
> cc [~deron]



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