use of org.apache.sysml.lops.SpoofFused in project incubator-systemml by apache.
the class SpoofFusedOp method constructLops.
@Override
public Lop constructLops() throws HopsException, LopsException {
if (getLops() != null)
return getLops();
ExecType et = optFindExecType();
ArrayList<Lop> inputs = new ArrayList<Lop>();
for (Hop c : getInput()) inputs.add(c.constructLops());
int k = OptimizerUtils.getConstrainedNumThreads(_numThreads);
SpoofFused lop = new SpoofFused(inputs, getDataType(), getValueType(), _class, k, et);
setOutputDimensions(lop);
setLineNumbers(lop);
setLops(lop);
return lop;
}
Aggregations