Class CNodeBinary
java.lang.Object
org.apache.sysds.hops.codegen.cplan.CNode
org.apache.sysds.hops.codegen.cplan.CNodeBinary
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCNodeBinary(CNode in1, CNode in2, CNodeBinary.BinType type) CNodeBinary(CNode in1, CNode in2, CNodeBinary.BinType type, double sparsityEst, double scalarVal) -
Method Summary
Modifier and TypeMethodDescriptioncodegen(boolean sparse, SpoofCompiler.GeneratorAPI api) booleanbooleangetOutputType(boolean scalarVector, boolean lsparseLhs, boolean lsparseRhs) getType()inthashCode()booleanvoidtoString()Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNode
createVarname, 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
-
Constructor Details
-
CNodeBinary
-
CNodeBinary
public CNodeBinary(CNode in1, CNode in2, CNodeBinary.BinType type, double sparsityEst, double scalarVal)
-
-
Method Details
-
getType
-
codegen
-
getOutputType
public boolean getOutputType(boolean scalarVector, boolean lsparseLhs, boolean lsparseRhs) -
toString
-
setOutputDims
public void setOutputDims()- Specified by:
setOutputDimsin classCNode
-
hashCode
public int hashCode() -
equals
-
isSupported
- Specified by:
isSupportedin classCNode
-