Class LinearizerMinIntermediates
- java.lang.Object
-
- org.apache.sysds.lops.compile.linearization.IDagLinearizer
-
- org.apache.sysds.lops.compile.linearization.LinearizerMinIntermediates
-
public class LinearizerMinIntermediates extends IDagLinearizer
Sort lops to execute them in an order that minimizes the memory requirements of intermediates
-
-
Constructor Summary
Constructors Constructor Description LinearizerMinIntermediates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Lop>
linearize(List<Lop> v)
Linearized a DAG of lops into a sequence of lops that preserves all data dependencies.
-
-
-
Method Detail
-
linearize
public List<Lop> linearize(List<Lop> v)
Description copied from class:IDagLinearizer
Linearized a DAG of lops into a sequence of lops that preserves all data dependencies.- Specified by:
linearize
in classIDagLinearizer
- Parameters:
v
- roots (outputs) of a DAG of lops- Returns:
- list of lops (input, inner, and outputs)
-
-