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 CNodeTplclone()Stringcodegen(boolean sparse, SpoofCompiler.GeneratorAPI api)intcompile(SpoofCompiler.GeneratorAPI api, String src)booleanequals(Object o)ArrayList<Types.AggOp>getAggOps()SpoofFusedOp.SpoofOutputDimsTypegetOutputDimType()ArrayList<CNode>getOutputs()ArrayList<Hop>getRootNodes()StringgetTemplateInfo()inthashCode()booleanisSparseSafe()booleanisSupported(SpoofCompiler.GeneratorAPI api)voidrenameInputs()voidresetVisitStatusOutputs()voidsetAggOps(ArrayList<Types.AggOp> aggOps)voidsetOutputDims()voidsetRootNodes(ArrayList<Hop> roots)voidsetSparseSafe(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:
resetVisitStatusOutputsin 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:
renameInputsin classCNodeTpl
-
codegen
public String codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
-
setOutputDims
public void setOutputDims()
- Specified by:
setOutputDimsin classCNode
-
getOutputDimType
public SpoofFusedOp.SpoofOutputDimsType getOutputDimType()
- Specified by:
getOutputDimTypein classCNodeTpl
-
getTemplateInfo
public String getTemplateInfo()
- Specified by:
getTemplateInfoin classCNodeTpl
-
isSupported
public boolean isSupported(SpoofCompiler.GeneratorAPI api)
- Specified by:
isSupportedin classCNode
-
compile
public int compile(SpoofCompiler.GeneratorAPI api, String src)
-
-