systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYSTEMML-2350) Missing support for as.scalar casts of lists
Date Wed, 30 May 2018 20:04:00 GMT

     [ https://issues.apache.org/jira/browse/SYSTEMML-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias Boehm updated SYSTEMML-2350:
-------------------------------------
    Description: 
{code}
Caused by: org.apache.sysml.parser.LanguageException: Unsupported Parameters : ERROR: ./src/test/scripts/functions/paramserv/mnist_lenet_paramserv_minimum_version.dml
[line 237:5] -> lr = as.scalar(hyperparams['lr']); -- Expecting matrix or frame parameter
for function CAST_AS_SCALAR
	at org.apache.sysml.parser.Expression.raiseValidateError(Expression.java:543)
	at org.apache.sysml.parser.BuiltinFunctionExpression.checkMatrixFrameParam(BuiltinFunctionExpression.java:1516)
	at org.apache.sysml.parser.BuiltinFunctionExpression.validateExpression(BuiltinFunctionExpression.java:502)
	at org.apache.sysml.parser.StatementBlock.validateAssignmentStatement(StatementBlock.java:804)
	at org.apache.sysml.parser.StatementBlock.validate(StatementBlock.java:747)
	at org.apache.sysml.parser.FunctionStatementBlock.validate(FunctionStatementBlock.java:69)
	at org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:136)
	at org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:109)
	at org.apache.sysml.api.DMLScript.execute(DMLScript.java:697)
	at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:515)

{code}

> Missing support for as.scalar casts of lists
> --------------------------------------------
>
>                 Key: SYSTEMML-2350
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2350
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Priority: Major
>
> {code}
> Caused by: org.apache.sysml.parser.LanguageException: Unsupported Parameters : ERROR:
./src/test/scripts/functions/paramserv/mnist_lenet_paramserv_minimum_version.dml [line 237:5]
-> lr = as.scalar(hyperparams['lr']); -- Expecting matrix or frame parameter for function
CAST_AS_SCALAR
> 	at org.apache.sysml.parser.Expression.raiseValidateError(Expression.java:543)
> 	at org.apache.sysml.parser.BuiltinFunctionExpression.checkMatrixFrameParam(BuiltinFunctionExpression.java:1516)
> 	at org.apache.sysml.parser.BuiltinFunctionExpression.validateExpression(BuiltinFunctionExpression.java:502)
> 	at org.apache.sysml.parser.StatementBlock.validateAssignmentStatement(StatementBlock.java:804)
> 	at org.apache.sysml.parser.StatementBlock.validate(StatementBlock.java:747)
> 	at org.apache.sysml.parser.FunctionStatementBlock.validate(FunctionStatementBlock.java:69)
> 	at org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:136)
> 	at org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:109)
> 	at org.apache.sysml.api.DMLScript.execute(DMLScript.java:697)
> 	at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:515)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message