forked from apache/systemds
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
dml
m_tee = externalFunction(matrix[double] A) return (matrix[double] B, matrix[double] C) implemented in (classname="org.apache.sysds.runtime.instructions.ooc.TeeOOCInstruction", exectype="ooc");
# Read the input matrix as a stream
X = read($1);
# Use the tee operator to split the stream of X into two identical streams
[X1, X2] = m_tee(X);
# Perform two independent operations on the two output streams
s1 = sum(X1);
s2 = sum(X2);
# Write the two scalar results to separate files for verification
write(s1, $2);
write(s2, $3);java.lang.NullPointerException: Cannot invoke "org.apache.sysds.parser.Statement.getFilename()" because "s" is null
at org.apache.sysds.parser.StatementBlock.addStatement(StatementBlock.java:120)
at org.apache.sysds.parser.dml.DMLParserWrapper.createDMLProgram(DMLParserWrapper.java:204)
at org.apache.sysds.parser.dml.DMLParserWrapper.doParse(DMLParserWrapper.java:188)
at org.apache.sysds.parser.dml.DMLParserWrapper.parse(DMLParserWrapper.java:89)
at org.apache.sysds.api.DMLScript.execute(DMLScript.java:452)
at org.apache.sysds.api.DMLScript.executeScript(DMLScript.java:329)
at org.apache.sysds.test.AutomatedTestBase.main(AutomatedTestBase.java:1547)
at org.apache.sysds.test.AutomatedTestBase.runTestWithTimeout(AutomatedTestBase.java:1502)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels