Class CNodeUnary
- java.lang.Object
-
- org.apache.sysds.hops.codegen.cplan.CNode
-
- org.apache.sysds.hops.codegen.cplan.CNodeUnary
-
public class CNodeUnary extends CNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CNodeUnary.UnaryType
-
Constructor Summary
Constructors Constructor Description CNodeUnary(CNode in1, CNodeUnary.UnaryType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
boolean
equals(Object o)
CNodeUnary.UnaryType
getType()
int
hashCode()
boolean
isSupported(SpoofCompiler.GeneratorAPI api)
void
setOutputDims()
void
setType(CNodeUnary.UnaryType type)
String
toString()
-
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
-
-
-
-
Constructor Detail
-
CNodeUnary
public CNodeUnary(CNode in1, CNodeUnary.UnaryType type)
-
-
Method Detail
-
getType
public CNodeUnary.UnaryType getType()
-
setType
public void setType(CNodeUnary.UnaryType type)
-
codegen
public String codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
-
setOutputDims
public void setOutputDims()
- Specified by:
setOutputDims
in classCNode
-
isSupported
public boolean isSupported(SpoofCompiler.GeneratorAPI api)
- Specified by:
isSupported
in classCNode
-
-