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() |
boolean |
equals(Object o) |
int |
getBeginLine() |
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) |
codegen, createVarname, getClassname, getDataType, getID, getInput, getNumCols, getNumRows, getOutput, getVarname, getVectorLength, isGenerated, isLiteral, isVisited, resetGenerated, resetHash, resetVisitStatus, setDataType, setLiteral, setNumCols, setNumRows, setOutput, setOutputDims, 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()
Copyright © 2020 The Apache Software Foundation. All rights reserved.