Package org.apache.sysds.api
Class ScriptExecutorUtils
- java.lang.Object
-
- org.apache.sysds.api.ScriptExecutorUtils
-
public class ScriptExecutorUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ScriptExecutorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
executeRuntimeProgram(ScriptExecutor se, int statisticsMaxHeavyHitters)
Execute the runtime program.static void
executeRuntimeProgram(Program rtprog, ExecutionContext ec, DMLConfig dmlconf, int statisticsMaxHeavyHitters, Set<String> outputVariables)
Execute the runtime program.
-
-
-
Method Detail
-
executeRuntimeProgram
public static void executeRuntimeProgram(ScriptExecutor se, int statisticsMaxHeavyHitters)
Execute the runtime program. This involves execution of the program blocks that make up the runtime program and may involve dynamic recompilation.- Parameters:
se
- script executorstatisticsMaxHeavyHitters
- maximum number of statistics to print
-
executeRuntimeProgram
public static void executeRuntimeProgram(Program rtprog, ExecutionContext ec, DMLConfig dmlconf, int statisticsMaxHeavyHitters, Set<String> outputVariables)
Execute the runtime program. This involves execution of the program blocks that make up the runtime program and may involve dynamic recompilation.- Parameters:
rtprog
- runtime programec
- execution contextdmlconf
- dml configurationstatisticsMaxHeavyHitters
- maximum number of statistics to printoutputVariables
- output variables that were registered as part of MLContext
-
-