use of org.apache.sysml.api.mlcontext.ScriptExecutor in project systemml by apache.
the class MLContextTest method testCustomExecutionStepDML.
@Test
public void testCustomExecutionStepDML() {
System.out.println("MLContextTest - custom execution step DML");
String testString = "custom execution step";
setExpectedStdOut(testString);
Script script = new Script("print('" + testString + "');", org.apache.sysml.api.mlcontext.ScriptType.DML);
ScriptExecutor scriptExecutor = new ScriptExecutor() {
@Override
protected void showExplanation() {
}
};
ml.execute(script, scriptExecutor);
}
Aggregations