use of org.apache.sysml.lops.FunctionCallCPSingle in project incubator-systemml by apache.
the class FunctionOp method constructLops.
@Override
public Lop constructLops() {
// return already created lops
if (getLops() != null)
return getLops();
ExecType et = optFindExecType();
// construct input lops (recursive)
ArrayList<Lop> tmp = new ArrayList<>();
for (Hop in : getInput()) tmp.add(in.constructLops());
// construct function call
Lop fcall = _singleOutFun ? new FunctionCallCPSingle(tmp, _fnamespace, _fname, et) : new FunctionCallCP(tmp, _fnamespace, _fname, _outputs, _outputHops, et);
setLineNumbers(fcall);
setLops(fcall);
return getLops();
}
Aggregations