Constructor and Description |
---|
CNodeRow(ArrayList<CNode> inputs,
CNode output) |
Modifier and Type | Method and Description |
---|---|
CNodeTpl |
clone() |
String |
codegen(boolean sparse,
SpoofCompiler.GeneratorAPI _api) |
int |
compile(SpoofCompiler.GeneratorAPI api,
String src) |
boolean |
equals(Object o) |
long |
getConstDim2() |
int |
getNumVectorIntermediates() |
SpoofFusedOp.SpoofOutputDimsType |
getOutputDimType() |
SpoofRowwise.RowType |
getRowType() |
String |
getTemplateInfo() |
int |
hashCode() |
boolean |
isSupported(SpoofCompiler.GeneratorAPI api) |
void |
renameInputs() |
void |
setConstDim2(long dim2) |
void |
setNumVectorIntermediates(int num) |
void |
setOutputDims() |
void |
setRowType(SpoofRowwise.RowType type) |
addInput, codegen, getBeginLine, getGeneratorAPI, getInputHopIDs, getInputNames, resetVisitStatus, resetVisitStatusOutputs, rReorderCommutativeBinaryOps, setBeginLine, setGeneratorAPI
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 void setRowType(SpoofRowwise.RowType type)
public SpoofRowwise.RowType getRowType()
public void setNumVectorIntermediates(int num)
public int getNumVectorIntermediates()
public void setConstDim2(long dim2)
public long getConstDim2()
public void renameInputs()
renameInputs
in class CNodeTpl
public String codegen(boolean sparse, SpoofCompiler.GeneratorAPI _api)
public void setOutputDims()
setOutputDims
in class CNode
public SpoofFusedOp.SpoofOutputDimsType getOutputDimType()
getOutputDimType
in class CNodeTpl
public String getTemplateInfo()
getTemplateInfo
in class CNodeTpl
public boolean isSupported(SpoofCompiler.GeneratorAPI api)
isSupported
in class CNode
public int compile(SpoofCompiler.GeneratorAPI api, String src)
Copyright © 2021 The Apache Software Foundation. All rights reserved.