use of org.apache.sysml.lops.WeightedDivMM in project systemml by apache.
the class QuaternaryOp method constructCPLopsWeightedDivMM.
private void constructCPLopsWeightedDivMM(WDivMMType wtype) {
WeightedDivMM wdiv = new WeightedDivMM(getInput().get(0).constructLops(), getInput().get(1).constructLops(), getInput().get(2).constructLops(), getInput().get(3).constructLops(), getDataType(), getValueType(), wtype, ExecType.CP);
// set degree of parallelism
int k = OptimizerUtils.getConstrainedNumThreads(_maxNumThreads);
wdiv.setNumThreads(k);
setOutputDimensions(wdiv);
setLineNumbers(wdiv);
setLops(wdiv);
}
Aggregations