Package org.apache.sysds.lops.compile
Class Dag<N extends Lop>
java.lang.Object
org.apache.sysds.lops.compile.Dag<N>
- Type Parameters:
N- the class parameter has no affect and is only kept for documentation purposes.
Class to maintain a DAG of lops and compile it into
runtime instructions, incl piggybacking into jobs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod to add a node to the DAG.getJobs(StatementBlock sb, DMLConfig config) Method to compile a dag genericallystatic Stringstatic String
-
Constructor Details
-
Dag
public Dag()
-
-
Method Details
-
getNextUniqueFilenameSuffix
-
getNextUniqueFilename
-
getNextUniqueVarname
-
addNode
Method to add a node to the DAG.- Parameters:
node- low-level operator- Returns:
- true if node was not already present, false if not.
-
getJobs
Method to compile a dag generically- Parameters:
sb- statement blockconfig- dml configuration- Returns:
- list of instructions
-