Class CNodeMultiAgg
- java.lang.Object
-
- org.apache.sysds.hops.codegen.cplan.CNode
-
- org.apache.sysds.hops.codegen.cplan.CNodeTpl
-
- org.apache.sysds.hops.codegen.cplan.CNodeMultiAgg
-
-
Constructor Summary
Constructors Constructor Description CNodeMultiAgg(ArrayList<CNode> inputs, ArrayList<CNode> outputs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CNodeTpl
clone()
String
codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
int
compile(SpoofCompiler.GeneratorAPI api, String src)
boolean
equals(Object o)
ArrayList<Types.AggOp>
getAggOps()
SpoofFusedOp.SpoofOutputDimsType
getOutputDimType()
ArrayList<CNode>
getOutputs()
ArrayList<Hop>
getRootNodes()
String
getTemplateInfo()
int
hashCode()
boolean
isSparseSafe()
boolean
isSupported(SpoofCompiler.GeneratorAPI api)
void
renameInputs()
void
resetVisitStatusOutputs()
void
setAggOps(ArrayList<Types.AggOp> aggOps)
void
setOutputDims()
void
setRootNodes(ArrayList<Hop> roots)
void
setSparseSafe(boolean flag)
-
Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNodeTpl
addInput, codegen, getBeginLine, getGeneratorAPI, getInputHopIDs, getInputNames, resetVisitStatus, rReorderCommutativeBinaryOps, setBeginLine, setGeneratorAPI
-
Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNode
createVarname, getClassname, getDataType, getID, getInput, getNumCols, getNumRows, getOutput, getVarname, getVarname, getVectorLength, isGenerated, isLiteral, isVisited, resetGenerated, resetHash, resetVisitStatus, setDataType, setLiteral, setNumCols, setNumRows, setOutput, setVarName, setVisited, setVisited
-
-
-
-
Method Detail
-
resetVisitStatusOutputs
public void resetVisitStatusOutputs()
- Overrides:
resetVisitStatusOutputs
in classCNodeTpl
-
setAggOps
public void setAggOps(ArrayList<Types.AggOp> aggOps)
-
getAggOps
public ArrayList<Types.AggOp> getAggOps()
-
setSparseSafe
public void setSparseSafe(boolean flag)
-
isSparseSafe
public boolean isSparseSafe()
-
renameInputs
public void renameInputs()
- Specified by:
renameInputs
in classCNodeTpl
-
codegen
public String codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
-
setOutputDims
public void setOutputDims()
- Specified by:
setOutputDims
in classCNode
-
getOutputDimType
public SpoofFusedOp.SpoofOutputDimsType getOutputDimType()
- Specified by:
getOutputDimType
in classCNodeTpl
-
getTemplateInfo
public String getTemplateInfo()
- Specified by:
getTemplateInfo
in classCNodeTpl
-
isSupported
public boolean isSupported(SpoofCompiler.GeneratorAPI api)
- Specified by:
isSupported
in classCNode
-
compile
public int compile(SpoofCompiler.GeneratorAPI api, String src)
-
-