public class CNodeUnary extends CNode
Modifier and Type | Class and Description |
---|---|
static class |
CNodeUnary.UnaryType |
Constructor and Description |
---|
CNodeUnary(CNode in1,
CNodeUnary.UnaryType type) |
Modifier and Type | Method and 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() |
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
public CNodeUnary(CNode in1, CNodeUnary.UnaryType type)
public CNodeUnary.UnaryType getType()
public void setType(CNodeUnary.UnaryType type)
public String codegen(boolean sparse, SpoofCompiler.GeneratorAPI api)
public void setOutputDims()
setOutputDims
in class CNode
public boolean isSupported(SpoofCompiler.GeneratorAPI api)
isSupported
in class CNode
Copyright © 2021 The Apache Software Foundation. All rights reserved.