public abstract class CNodeTpl extends CNode implements Cloneable
Constructor and Description |
---|
CNodeTpl(ArrayList<CNode> inputs,
CNode output) |
Modifier and Type | Method and Description |
---|---|
void |
addInput(CNode in) |
abstract CNodeTpl |
clone() |
String |
codegen() |
abstract int |
compile(SpoofCompiler.GeneratorAPI api,
String src) |
boolean |
equals(Object o) |
int |
getBeginLine() |
SpoofCompiler.GeneratorAPI |
getGeneratorAPI() |
HashSet<Long> |
getInputHopIDs(boolean inclLiterals) |
String[] |
getInputNames() |
abstract SpoofFusedOp.SpoofOutputDimsType |
getOutputDimType() |
abstract String |
getTemplateInfo() |
int |
hashCode() |
abstract void |
renameInputs() |
static void |
resetVisitStatus(List<CNode> outputs) |
void |
resetVisitStatusOutputs() |
void |
rReorderCommutativeBinaryOps(CNode node,
long mainHopID) |
void |
setBeginLine(int line) |
void |
setGeneratorAPI(SpoofCompiler.GeneratorAPI _api) |
codegen, createVarname, getClassname, getDataType, getID, getInput, getNumCols, getNumRows, getOutput, getVarname, getVarname, getVectorLength, isGenerated, isLiteral, isSupported, isVisited, resetGenerated, resetHash, resetVisitStatus, setDataType, setLiteral, setNumCols, setNumRows, setOutput, setOutputDims, setVarName, setVisited, setVisited
public void addInput(CNode in)
public String[] getInputNames()
public void resetVisitStatusOutputs()
public String codegen()
public abstract SpoofFusedOp.SpoofOutputDimsType getOutputDimType()
public abstract String getTemplateInfo()
public abstract void renameInputs()
public void rReorderCommutativeBinaryOps(CNode node, long mainHopID)
public void setBeginLine(int line)
public int getBeginLine()
public SpoofCompiler.GeneratorAPI getGeneratorAPI()
public void setGeneratorAPI(SpoofCompiler.GeneratorAPI _api)
public abstract int compile(SpoofCompiler.GeneratorAPI api, String src)
Copyright © 2021 The Apache Software Foundation. All rights reserved.