Class CNodeUnary
java.lang.Object
org.apache.sysds.hops.codegen.cplan.CNode
org.apache.sysds.hops.codegen.cplan.CNodeUnary
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCNodeUnary(CNode in1, CNodeUnary.UnaryType type) CNodeUnary(CNode in1, CNodeUnary.UnaryType type, double sparsity) -
Method Summary
Modifier and TypeMethodDescriptioncodegen(boolean sparse, SpoofCompiler.GeneratorAPI api) booleanbooleanbooleangetTemplateType(double sparsity) getType()inthashCode()booleanvoidvoidsetType(CNodeUnary.UnaryType type) toString()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
-
CNodeUnary
-
CNodeUnary
-
-
Method Details
-
getType
-
setType
-
codegen
-
getTemplateType
public boolean getTemplateType(double sparsity) -
getOutputType
public boolean getOutputType() -
toString
-
setOutputDims
public void setOutputDims()- Specified by:
setOutputDimsin classCNode
-
hashCode
public int hashCode() -
equals
-
isSupported
- Specified by:
isSupportedin classCNode
-