LI Guobao created SYSTEMML-2440:
-----------------------------------
Summary: Got zero when casting an element of list
Key: SYSTEMML-2440
URL: https://issues.apache.org/jira/browse/SYSTEMML-2440
Project: SystemML
Issue Type: Bug
Reporter: LI Guobao
When running paramserv experiments, try to use get the element in a list in the
function. I got zero value.
{code:java}
stride = as.integer(as.scalar(hyperparams["stride"]))
pad = as.integer(as.scalar(hyperparams["pad"]))
lambda = as.double(as.scalar(hyperparams["lambda"])){code}
{code:java}
Caused by: java.lang.RuntimeException: Incorrect parameters: height=0
filter_height=0 stride=0 pad=0 at
org.apache.sysml.runtime.util.DnnUtils.getP(DnnUtils.java:43) at
org.apache.sysml.runtime.instructions.cp.DnnCPInstruction.processInstruction(DnnCPInstruction.java:457)
at
org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:252)
... 12 more
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)