Class CNodeRow
- java.lang.Object
-
- org.apache.sysds.hops.codegen.cplan.CNode
-
- org.apache.sysds.hops.codegen.cplan.CNodeTpl
-
- org.apache.sysds.hops.codegen.cplan.CNodeRow
-
-
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)
long
getConstDim2()
int
getNumVectorIntermediates()
SpoofFusedOp.SpoofOutputDimsType
getOutputDimType()
SpoofRowwise.RowType
getRowType()
String
getTemplateInfo()
int
hashCode()
boolean
isSupported(SpoofCompiler.GeneratorAPI api)
void
renameInputs()
void
setConstDim2(long dim2)
void
setNumVectorIntermediates(int num)
void
setOutputDims()
void
setRowType(SpoofRowwise.RowType type)
-
Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNodeTpl
addInput, codegen, getBeginLine, getGeneratorAPI, getInputHopIDs, getInputNames, resetVisitStatus, resetVisitStatusOutputs, 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
-
setRowType
public void setRowType(SpoofRowwise.RowType type)
-
getRowType
public SpoofRowwise.RowType getRowType()
-
setNumVectorIntermediates
public void setNumVectorIntermediates(int num)
-
getNumVectorIntermediates
public int getNumVectorIntermediates()
-
setConstDim2
public void setConstDim2(long dim2)
-
getConstDim2
public long getConstDim2()
-
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)
-
-