Class CNodeTpl

java.lang.Object
org.apache.sysds.hops.codegen.cplan.CNode
org.apache.sysds.hops.codegen.cplan.CNodeTpl
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
CNodeCell, CNodeMultiAgg, CNodeOuterProduct, CNodeRow

public abstract class CNodeTpl extends CNode implements Cloneable
  • Constructor Details

  • Method Details

    • addInput

      public void addInput(CNode in)
    • getInputNames

      public String[] getInputNames()
    • getInputHopIDs

      public HashSet<Long> getInputHopIDs(boolean inclLiterals)
    • resetVisitStatusOutputs

      public void resetVisitStatusOutputs()
    • resetVisitStatus

      public static void resetVisitStatus(List<CNode> outputs)
    • codegen

      public String codegen()
    • clone

      public abstract CNodeTpl clone()
    • getOutputDimType

      public abstract SpoofFusedOp.SpoofOutputDimsType getOutputDimType()
    • getTemplateInfo

      public abstract String getTemplateInfo()
    • renameInputs

      public abstract void renameInputs()
    • rReorderCommutativeBinaryOps

      public void rReorderCommutativeBinaryOps(CNode node, long mainHopID)
    • setBeginLine

      public void setBeginLine(int line)
    • getBeginLine

      public int getBeginLine()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CNode
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class CNode
    • getGeneratorAPI

      public SpoofCompiler.GeneratorAPI getGeneratorAPI()
    • setGeneratorAPI

      public void setGeneratorAPI(SpoofCompiler.GeneratorAPI _api)
    • compile

      public abstract int compile(SpoofCompiler.GeneratorAPI api, String src)