Uses of Class
org.apache.sysds.hops.Hop
-
-
Uses of Hop in org.apache.sysds.hops
Subclasses of Hop in org.apache.sysds.hops Modifier and Type Class Description classAggBinaryOpclassAggUnaryOpclassBinaryOpclassDataGenOpA DataGenOp can be rand (or matrix constructor), sequence, and sample - these operators have different parameters and use a map of parameter type to hop position.classDataOpA DataOp can be either a persistent read/write or transient read/write - writes will always have at least one input, but all types can have parameters (e.g., for csv literals of delimiter, header, etc).classDnnOpclassFunctionOpThis FunctionOp represents the call to a DML-bodied or external function.classIndexingOpclassLeftIndexingOpclassLiteralOpclassMultiThreadedHopOptional hop interface, to be implemented by multi-threaded hops.classNaryOpThe NaryOp Hop allows for a variable number of operands.classParameterizedBuiltinOpDefines the HOP for calling an internal function (with custom parameters) from a DML script.classQuaternaryOpNote: this hop should be called AggQuaternaryOp in consistency with AggUnaryOp and AggBinaryOp; however, since there does not exist a real QuaternaryOp yet - we can leave it as is for now.classReorgOpReorg (cell) operation: aij Properties: Symbol: ', rdiag, rshape, rsort 1 Operand (except sort and reshape take additional arguments) Semantic: change indices (in mapper or reducer) NOTE MB: reshape integrated here because (1) ParameterizedBuiltinOp requires name-value pairs for params and (2) most importantly semantic of reshape is exactly a reorg op.classTernaryOpPrimary use cases for now, arequantile (<n-1-matrix>, <n-1-matrix>, <literal>): quantile (A, w, 0.5)quantile (<n-1-matrix>, <n-1-matrix>, <scalar>): quantile (A, w, s)interquantile (<n-1-matrix>, <n-1-matrix>, <scalar>): interquantile (A, w, s)Keep in mind, that we also have binaries for it w/o weights.classUnaryOpMethods in org.apache.sysds.hops that return Hop Modifier and Type Method Description HopDataGenOp. getConstantValue()HopDataGenOp. getInput(String key)HopHop. getInput(int ix)HopDataGenOp. getParam(String key)HopParameterizedBuiltinOp. getParameterHop(String name)HopParameterizedBuiltinOp. getTargetHop()HopHop. resetVisitStatus()Methods in org.apache.sysds.hops that return types with arguments of type Hop Modifier and Type Method Description ArrayList<Hop>Hop. getInput()ArrayList<Hop>FunctionOp. getOutputs()ArrayList<Hop>Hop. getParent()Methods in org.apache.sysds.hops with parameters of type Hop Modifier and Type Method Description voidHop. addInput(Hop h)static booleanOptimizerUtils. allowsToFilterEmptyBlockOutputs(Hop hop)static voidHopsException. check(boolean condition, Hop hop, String message, Object... objects)If the condition fails, print the Op and its Id, along with the message formatted with objects.booleanAggBinaryOp. compare(Hop that)booleanAggUnaryOp. compare(Hop that)booleanBinaryOp. compare(Hop that)booleanDataGenOp. compare(Hop that)booleanDataOp. compare(Hop that)booleanDnnOp. compare(Hop that)booleanFunctionOp. compare(Hop that)abstract booleanHop. compare(Hop that)booleanIndexingOp. compare(Hop that)booleanLeftIndexingOp. compare(Hop that)booleanLiteralOp. compare(Hop that)booleanNaryOp. compare(Hop that)booleanParameterizedBuiltinOp. compare(Hop that)booleanQuaternaryOp. compare(Hop that)booleanReorgOp. compare(Hop that)booleanTernaryOp. compare(Hop that)booleanUnaryOp. compare(Hop that)doubleHop. computeBoundsInformation(Hop input)static doubleHop. computeBoundsInformation(Hop input, LocalVariableMap vars)static doubleHop. computeBoundsInformation(Hop input, LocalVariableMap vars, HashMap<Long,Double> memo)static longHop. computeSizeInformation(Hop input)longHop. computeSizeInformation(Hop input, LocalVariableMap vars)longHop. computeSizeInformation(Hop input, LocalVariableMap vars, HashMap<Long,Long> memo)static LopBinaryOp. constructSPAppendLop(Hop left, Hop right, Types.DataType dt, Types.ValueType vt, boolean cbind, Hop current)static LopHop. createOffsetLop(Hop hop, boolean repCols)static longOptimizerUtils. estimatePartitionedSizeExactSparsity(Hop hop)Estimates the footprint (in bytes) for a partitioned in-memory representation of a matrix with the hops dimensions and number of non-zeros nnz.DataCharacteristicsMemoTable. getAllInputStats(Hop input)static doubleOptimizerUtils. getSparsity(Hop hop)static doubleOptimizerUtils. getTotalMemEstimate(Hop[] in, Hop out)static doubleOptimizerUtils. getTotalMemEstimate(Hop[] in, Hop out, boolean denseOut)booleanMemoTable. hasInputStatistics(Hop h)voidMemoTable. init(Hop hop, RecompileStatus status)voidHop. refreshColsParameterInformation(Hop input, LocalVariableMap vars)voidHop. refreshColsParameterInformation(Hop input, LocalVariableMap vars, HashMap<Long,Long> memo)voidHop. refreshRowsParameterInformation(Hop input, LocalVariableMap vars)voidHop. refreshRowsParameterInformation(Hop input, LocalVariableMap vars, HashMap<Long,Long> memo)static booleanBinaryOp. requiresReplication(Hop left, Hop right)static voidHop. resetRecompilationFlag(Hop hops, Types.ExecType et, Recompiler.ResetType reset)static doubleOptimizerUtils. rEvalSimpleDoubleExpression(Hop root, HashMap<Long,Double> valMemo)static doubleOptimizerUtils. rEvalSimpleDoubleExpression(Hop root, HashMap<Long,Double> valMemo, LocalVariableMap vars)static longOptimizerUtils. rEvalSimpleLongExpression(Hop root, HashMap<Long,Long> valMemo)Function to evaluate simple size expressions over literals and now/ncol.static longOptimizerUtils. rEvalSimpleLongExpression(Hop root, HashMap<Long,Long> valMemo, LocalVariableMap vars)voidDataGenOp. setInput(String key, Hop hop, boolean linkParent)Method parameters in org.apache.sysds.hops with type arguments of type Hop Modifier and Type Method Description voidHop. addAllInputs(ArrayList<Hop> list)LopDnnOp. constructDnnLops(Types.ExecType et, ArrayList<Hop> inputs)voidMemoTable. extract(ArrayList<Hop> hops, RecompileStatus status)DataCharacteristics[]MemoTable. getAllInputStats(ArrayList<Hop> inputs)voidMemoTable. init(ArrayList<Hop> hops, RecompileStatus status)static voidHop. resetRecompilationFlag(ArrayList<Hop> hops, Types.ExecType et, Recompiler.ResetType reset)static voidHop. resetVisitStatus(ArrayList<Hop> hops)static voidHop. resetVisitStatus(ArrayList<Hop> hops, boolean force)Constructors in org.apache.sysds.hops with parameters of type Hop Constructor Description AggBinaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp2 innOp, Types.AggOp outOp, Hop in1, Hop in2)AggUnaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.AggOp o, Types.Direction idx, Hop inp)BinaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp2 o, Hop inp1, Hop inp2)DataOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpData dop, Hop in, HashMap<String,Hop> inputParameters)WRITE operation for Matrix This constructor supports expression in parametersDataOp(String l, Types.DataType dt, Types.ValueType vt, Hop in, Types.OpOpData dop, String fname)IndexingOp(String l, Types.DataType dt, Types.ValueType vt, Hop inpMatrix, Hop inpRowL, Hop inpRowU, Hop inpColL, Hop inpColU, boolean passedRowsLEU, boolean passedColsLEU)LeftIndexingOp(String l, Types.DataType dt, Types.ValueType vt, Hop inpMatrixLeft, Hop inpMatrixRight, Hop inpRowL, Hop inpRowU, Hop inpColL, Hop inpColU, boolean passedRowsLEU, boolean passedColsLEU)NaryOp(String name, Types.DataType dataType, Types.ValueType valueType, Types.OpOpN op, Hop... inputs)NaryOp constructor.QuaternaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp4 o, Hop inX, Hop inU, Hop inV)QuaternaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp4 o, Hop inX, Hop inU, Hop inV, boolean flag1, boolean flag2)Constructor for wsigmoid.QuaternaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp4 o, Hop inW, Hop inU, Hop inV, boolean umult, Types.OpOp1 uop, Types.OpOp2 sop)QuaternaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp4 o, Hop inX, Hop inU, Hop inV, Hop inW, boolean post)Constructor for wsloss.QuaternaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp4 o, Hop inX, Hop inU, Hop inV, Hop inW, int baseType, boolean flag1, boolean flag2)ReorgOp(String l, Types.DataType dt, Types.ValueType vt, Types.ReOrgOp o, Hop inp)TernaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp3 o, Hop inp1, Hop inp2, Hop inp3)TernaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp3 o, Hop inp1, Hop inp2, Hop inp3, Hop inp4, Hop inp5, Hop inp6)UnaryOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOp1 o, Hop inp)Constructor parameters in org.apache.sysds.hops with type arguments of type Hop Constructor Description DataGenOp(Types.OpOpDG mthd, DataIdentifier id, HashMap<String,Hop> inputParameters)Creates a new Rand HOP.DataOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpData dop, HashMap<String,Hop> params)READ operation for Matrix / SQL operation for tensor This constructor supports expressions in parametersDataOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpData dop, Hop in, HashMap<String,Hop> inputParameters)WRITE operation for Matrix This constructor supports expression in parametersDnnOp(String l, Types.DataType dt, Types.ValueType vt, Types.OpOpDnn o, ArrayList<Hop> inp)Create a hop from the builtin expressionFunctionOp(FunctionOp.FunctionType type, String fnamespace, String fname, String[] inputNames, List<Hop> inputs, String[] outputNames, boolean singleOut)FunctionOp(FunctionOp.FunctionType type, String fnamespace, String fname, String[] inputNames, List<Hop> inputs, String[] outputNames, boolean singleOut, boolean pseudo)FunctionOp(FunctionOp.FunctionType type, String fnamespace, String fname, String[] inputNames, List<Hop> inputs, String[] outputNames, ArrayList<Hop> outputHops)FunctionOp(FunctionOp.FunctionType type, String fnamespace, String fname, String[] inputNames, List<Hop> inputs, String[] outputNames, ArrayList<Hop> outputHops)ParameterizedBuiltinOp(String l, Types.DataType dt, Types.ValueType vt, Types.ParamBuiltinOp op, LinkedHashMap<String,Hop> inputParameters)Creates a new HOP for a function callReorgOp(String l, Types.DataType dt, Types.ValueType vt, Types.ReOrgOp o, ArrayList<Hop> inp) -
Uses of Hop in org.apache.sysds.hops.codegen
Subclasses of Hop in org.apache.sysds.hops.codegen Modifier and Type Class Description classSpoofFusedOpMethods in org.apache.sysds.hops.codegen that return Hop Modifier and Type Method Description static HopSpoofCompiler. optimize(Hop root, boolean recompile)Main interface of sum-product optimizer, predicate dag.Methods in org.apache.sysds.hops.codegen that return types with arguments of type Hop Modifier and Type Method Description static ArrayList<Hop>SpoofCompiler. generateCodeFromHopDAGs(ArrayList<Hop> roots)static ArrayList<Hop>SpoofCompiler. optimize(ArrayList<Hop> roots, boolean recompile)Main interface of sum-product optimizer, statement block dag.Methods in org.apache.sysds.hops.codegen with parameters of type Hop Modifier and Type Method Description booleanSpoofFusedOp. compare(Hop that)static ArrayList<Instruction>SpoofCompiler. generateCodeFromHopDAGsToInst(Hop root)static HopSpoofCompiler. optimize(Hop root, boolean recompile)Main interface of sum-product optimizer, predicate dag.Method parameters in org.apache.sysds.hops.codegen with type arguments of type Hop Modifier and Type Method Description static ArrayList<Hop>SpoofCompiler. generateCodeFromHopDAGs(ArrayList<Hop> roots)static ArrayList<Instruction>SpoofCompiler. generateCodeFromHopDAGsToInst(StatementBlock sb, ArrayList<Hop> roots)static ArrayList<Hop>SpoofCompiler. optimize(ArrayList<Hop> roots, boolean recompile)Main interface of sum-product optimizer, statement block dag. -
Uses of Hop in org.apache.sysds.hops.codegen.cplan
Methods in org.apache.sysds.hops.codegen.cplan that return types with arguments of type Hop Modifier and Type Method Description ArrayList<Hop>CNodeMultiAgg. getRootNodes()Method parameters in org.apache.sysds.hops.codegen.cplan with type arguments of type Hop Modifier and Type Method Description voidCNodeMultiAgg. setRootNodes(ArrayList<Hop> roots)Constructors in org.apache.sysds.hops.codegen.cplan with parameters of type Hop Constructor Description CNodeData(Hop hop)CNodeData(Hop hop, long rows, long cols, Types.DataType dt) -
Uses of Hop in org.apache.sysds.hops.codegen.opt
Method parameters in org.apache.sysds.hops.codegen.opt with type arguments of type Hop Modifier and Type Method Description static Collection<PlanPartition>PlanAnalyzer. analyzePlanPartitions(CPlanMemoTable memo, ArrayList<Hop> roots, boolean ext)abstract voidPlanSelection. selectPlans(CPlanMemoTable memo, ArrayList<Hop> roots)Given a HOP DAG G, and a set of partial fusions plans P, find the set of optimal, non-conflicting fusion plans P' that applied to G minimizes costs C with P' = \argmin_{p \subseteq P} C(G, p) s.t.voidPlanSelectionFuseAll. selectPlans(CPlanMemoTable memo, ArrayList<Hop> roots)voidPlanSelectionFuseCostBased. selectPlans(CPlanMemoTable memo, ArrayList<Hop> roots)voidPlanSelectionFuseCostBasedV2. selectPlans(CPlanMemoTable memo, ArrayList<Hop> roots)voidPlanSelectionFuseNoRedundancy. selectPlans(CPlanMemoTable memo, ArrayList<Hop> roots) -
Uses of Hop in org.apache.sysds.hops.codegen.template
Methods in org.apache.sysds.hops.codegen.template that return types with arguments of type Hop Modifier and Type Method Description HashMap<Long,Hop>CPlanMemoTable. getHopRefs()Methods in org.apache.sysds.hops.codegen.template with parameters of type Hop Modifier and Type Method Description voidCPlanMemoTable. add(Hop hop, CPlanMemoTable.MemoTableEntry me)voidCPlanMemoTable. add(Hop hop, TemplateBase.TemplateType type)voidCPlanMemoTable. add(Hop hop, TemplateBase.TemplateType type, long in1)voidCPlanMemoTable. add(Hop hop, TemplateBase.TemplateType type, long in1, long in2)voidCPlanMemoTable. add(Hop hop, TemplateBase.TemplateType type, long in1, long in2, long in3)voidCPlanMemoTable. addAll(Hop hop, CPlanMemoTable.MemoTableEntrySet P)voidCPlanMemoTable. addHop(Hop hop)abstract TemplateBase.CloseTypeTemplateBase. close(Hop hop)Indicates if the template must be closed at the current hop; either due to final operations (e.g., aggregate) or unsupported operations.TemplateBase.CloseTypeTemplateCell. close(Hop hop)TemplateBase.CloseTypeTemplateMultiAgg. close(Hop hop)TemplateBase.CloseTypeTemplateOuterProduct. close(Hop hop)TemplateBase.CloseTypeTemplateRow. close(Hop hop)intTemplateCell.HopInputComparator. compare(Hop h1, Hop h2)intTemplateRow.HopInputComparator. compare(Hop h1, Hop h2)abstract Pair<Hop[],CNodeTpl>TemplateBase. constructCplan(Hop hop, CPlanMemoTable memo, boolean compileLiterals)Constructs a single cplan rooted at the given hop, according to the plan given in the memo structure for this particular hop and its recursive inputs.Pair<Hop[],CNodeTpl>TemplateCell. constructCplan(Hop hop, CPlanMemoTable memo, boolean compileLiterals)Pair<Hop[],CNodeTpl>TemplateMultiAgg. constructCplan(Hop hop, CPlanMemoTable memo, boolean compileLiterals)Pair<Hop[],CNodeTpl>TemplateOuterProduct. constructCplan(Hop hop, CPlanMemoTable memo, boolean compileLiterals)Pair<Hop[],CNodeTpl>TemplateRow. constructCplan(Hop hop, CPlanMemoTable memo, boolean compileLiterals)booleanCPlanMemoTable. containsHop(Hop hop)static booleanTemplateUtils. containsOuterProduct(Hop hop)static booleanTemplateUtils. containsOuterProduct(Hop hop, Hop probe)static CNodeDataTemplateUtils. createCNodeData(Hop hop, boolean compileLiterals)static LinkedList<Long>TemplateUtils. findRemovableConditionalPatternInOuterProduct(Hop hop)abstract booleanTemplateBase. fuse(Hop hop, Hop input)Indicates if the template can be expanded to the given hop starting from an open template at the input.booleanTemplateCell. fuse(Hop hop, Hop input)booleanTemplateMultiAgg. fuse(Hop hop, Hop input)booleanTemplateOuterProduct. fuse(Hop hop, Hop input)booleanTemplateRow. fuse(Hop hop, Hop input)static Types.AggOpTemplateUtils. getAggOp(Hop hop)static SpoofCellwise.CellTypeTemplateUtils. getCellType(Hop hop)static SpoofOuterProduct.OutProdTypeTemplateUtils. getOuterProductType(Hop X, Hop U, Hop V, Hop out)static longTemplateUtils. getRowTemplateMatrixInput(Hop current, CPlanMemoTable memo)static SpoofRowwise.RowTypeTemplateUtils. getRowType(Hop output, Hop... inputs)static booleanTemplateUtils. hasCommonRowTemplateMatrixInput(Hop input1, Hop input2, CPlanMemoTable memo)static booleanTemplateUtils. hasMatrixInput(Hop hop)static booleanTemplateUtils. hasTransposeParentUnderOuterProduct(Hop hop)static booleanTemplateUtils. isBinaryMatrixColVector(Hop hop)static booleanTemplateUtils. isBinaryMatrixRowVector(Hop hop)static booleanTemplateUtils. isColVector(Hop hop)static booleanTemplateUtils. isMatrix(Hop hop)static booleanTemplateUtils. isOperationSupported(Hop h)static booleanTemplateUtils. isValidSingleOperation(Hop hop)static booleanTemplateUtils. isVector(Hop hop)static booleanTemplateUtils. isVectorOrScalar(Hop hop)abstract booleanTemplateBase. merge(Hop hop, Hop input)Indicates if the template at the current hop can be expanded by merging another template available for one of its other inputs which is not yet covered by the template of the current hop.booleanTemplateCell. merge(Hop hop, Hop input)booleanTemplateMultiAgg. merge(Hop hop, Hop input)booleanTemplateOuterProduct. merge(Hop hop, Hop input)booleanTemplateRow. merge(Hop hop, Hop input)abstract booleanTemplateBase. open(Hop hop)Indicates if this template can be opened at the given hop, where hop represents bottom (first operation on the inputs) of the fused operator.booleanTemplateCell. open(Hop hop)booleanTemplateMultiAgg. open(Hop hop)booleanTemplateOuterProduct. open(Hop hop)booleanTemplateRow. open(Hop hop)voidCPlanMemoTable. remove(Hop hop, Set<CPlanMemoTable.MemoTableEntry> excludeList)voidCPlanMemoTable. remove(Hop hop, TemplateBase.TemplateType type)static longTemplateUtils. skipConditionalInOuterProduct(Hop hop, HashMap<Long,CNode> tmp, HashSet<Hop> inHops)static CNodeTemplateUtils. skipTranspose(CNode cdataOrig, Hop hop, HashMap<Long,CNode> tmp, boolean compileLiterals)static CNodeTemplateUtils. wrapLookupIfNecessary(CNode node, Hop hop)static CNodeTemplateUtils. wrapLookupIfNecessary(CNode node, Hop hop, boolean rowTpl)Method parameters in org.apache.sysds.hops.codegen.template with type arguments of type Hop Modifier and Type Method Description voidCPlanMemoTable. pruneSuboptimal(ArrayList<Hop> roots)static longTemplateUtils. skipConditionalInOuterProduct(Hop hop, HashMap<Long,CNode> tmp, HashSet<Hop> inHops)Constructors in org.apache.sysds.hops.codegen.template with parameters of type Hop Constructor Description HopInputComparator(Hop driver)HopInputComparator(Hop X, Hop B1)MemoTableEntrySet(Hop hop, Hop c, TemplateBase tpl) -
Uses of Hop in org.apache.sysds.hops.cost
Methods in org.apache.sysds.hops.cost that return Hop Modifier and Type Method Description HopHopRel. getHopRef()Methods in org.apache.sysds.hops.cost with parameters of type Hop Modifier and Type Method Description FederatedCostFederatedCostEstimator. costEstimate(Hop root)Return cost estimate in bytes of Hop DAG starting from given root.static doubleComputeCost. getHOPComputeCost(Hop currentHop)Get compute cost for given HOP based on the number of floating point operations per output cell and the total number of output cells.Constructors in org.apache.sysds.hops.cost with parameters of type Hop Constructor Description HopRel(Hop associatedHop, FEDInstruction.FederatedOutput fedOut, FTypes.FType fType, MemoTable hopRelMemo, ArrayList<Hop> inputs)Constructs a HopRel with input dependency and cost estimate based on entries in hopRelMemo.HopRel(Hop associatedHop, FEDInstruction.FederatedOutput fedOut, FTypes.FType fType, MemoTable hopRelMemo, List<Hop> inputs, List<FTypes.FType> inputDependency)HopRel(Hop associatedHop, FEDInstruction.FederatedOutput fedOut, MemoTable hopRelMemo)Constructs a HopRel with input dependency and cost estimate based on entries in hopRelMemo.HopRel(Hop associatedHop, FEDInstruction.FederatedOutput fedOut, MemoTable hopRelMemo, ArrayList<Hop> inputs)Constructs a HopRel with input dependency and cost estimate based on entries in hopRelMemo.Constructor parameters in org.apache.sysds.hops.cost with type arguments of type Hop Constructor Description HopRel(Hop associatedHop, FEDInstruction.FederatedOutput fedOut, FTypes.FType fType, MemoTable hopRelMemo, ArrayList<Hop> inputs)Constructs a HopRel with input dependency and cost estimate based on entries in hopRelMemo.HopRel(Hop associatedHop, FEDInstruction.FederatedOutput fedOut, FTypes.FType fType, MemoTable hopRelMemo, List<Hop> inputs, List<FTypes.FType> inputDependency)HopRel(Hop associatedHop, FEDInstruction.FederatedOutput fedOut, MemoTable hopRelMemo, ArrayList<Hop> inputs)Constructs a HopRel with input dependency and cost estimate based on entries in hopRelMemo. -
Uses of Hop in org.apache.sysds.hops.fedplanner
Methods in org.apache.sysds.hops.fedplanner that return types with arguments of type Hop Modifier and Type Method Description List<Hop>FederatedPlannerCostbased. getTerminalHops()Methods in org.apache.sysds.hops.fedplanner with parameters of type Hop Modifier and Type Method Description booleanMemoTable. containsHop(Hop root)Checks if root hop has been added to memo.HopRelMemoTable. getFederatedOutputAlternative(Hop root)Get the federated output alternative for given root hop or throw exception if not found.HopRelMemoTable. getFederatedOutputAlternativeOrNull(Hop root)Get the federated output alternative for given root hop or null if not found.List<String>MemoTable. getFedOutAlternatives(Hop root)Get list of strings representing the different hopRel federated outputs related to root hop.List<FTypes.FType>MemoTable. getFTypes(Hop root)Get all output FTypes of given root from HopRels stored in memo.HopRelMemoTable. getHopRel(Hop root, FTypes.FType fType)HopRelMemoTable. getLOUTOrNONEAlternative(Hop root)HopRelMemoTable. getMinCostAlternative(Hop root)Get the HopRel with minimum cost for given root hopbooleanMemoTable. hasFederatedOutputAlternative(Hop root)Checks if any of the federated execution alternatives for the given root hop has federated output.voidMemoTable. put(Hop root, List<HopRel> hopRels)Memoize hopRels related to given root.Method parameters in org.apache.sysds.hops.fedplanner with type arguments of type Hop Modifier and Type Method Description ArrayList<StatementBlock>FederatedPlannerCostbased. rewriteStatementBlock(DMLProgram prog, StatementBlock sb, Map<String,Hop> paramMap)Estimates cost and enumerates federated execution plans in hopRelMemo. -
Uses of Hop in org.apache.sysds.hops.ipa
Methods in org.apache.sysds.hops.ipa with parameters of type Hop Modifier and Type Method Description static voidIPAPassRemoveUnnecessaryCheckpoints. rRemoveCheckpointReadWrite(Hop hop) -
Uses of Hop in org.apache.sysds.hops.recompile
Methods in org.apache.sysds.hops.recompile that return Hop Modifier and Type Method Description static HopRecompiler. deepCopyHopsDag(Hop hops)Deep copy of hops dags for parallel recompilation.Methods in org.apache.sysds.hops.recompile that return types with arguments of type Hop Modifier and Type Method Description static ArrayList<Hop>Recompiler. deepCopyHopsDag(List<Hop> hops)Deep copy of hops dags for parallel recompilation.Methods in org.apache.sysds.hops.recompile with parameters of type Hop Modifier and Type Method Description static HopRecompiler. deepCopyHopsDag(Hop hops)Deep copy of hops dags for parallel recompilation.static voidRecompiler. extractDAGOutputStatistics(Hop hop, LocalVariableMap vars, boolean overwrite)static voidRecompiler. rClearLops(Hop hop)Clearing lops for a given hops includes to (1) remove the reference to constructed lops and (2) clear the exec type (for consistency).static ArrayList<Instruction>Recompiler. recompileHopsDag(Hop hop, LocalVariableMap vars, RecompileStatus status, boolean inplace, boolean replaceLit, long tid)static ArrayList<Instruction>Recompiler. recompileHopsDag2Forced(Hop hop, long tid, Types.ExecType et)static ArrayList<Instruction>Recompiler. recompileHopsDagInstructions(Hop hop)static booleanRecompiler. requiresRecompilation(Hop hop)static intRecompiler. rGetMaxParallelism(Hop hop)static voidRecompiler. rReplaceLiterals(Hop hop, ExecutionContext ec, boolean scalarsOnly)public interface to package local literal replacementstatic voidRecompiler. rReplaceLiterals(Hop hop, LocalVariableMap vars, boolean scalarsOnly)static voidRecompiler. rSetExecType(Hop hop, Types.ExecType etype)static voidRecompiler. rSetMaxParallelism(Hop hop, int k)static voidRecompiler. rUpdateFunctionNames(Hop hop, long pid)static voidRecompiler. rUpdateStatistics(Hop hop, LocalVariableMap vars)Method parameters in org.apache.sysds.hops.recompile with type arguments of type Hop Modifier and Type Method Description static ArrayList<Hop>Recompiler. deepCopyHopsDag(List<Hop> hops)Deep copy of hops dags for parallel recompilation.static voidRecompiler. extractDAGOutputStatistics(ArrayList<Hop> hops, LocalVariableMap vars)static voidRecompiler. extractDAGOutputStatistics(ArrayList<Hop> hops, LocalVariableMap vars, boolean overwrite)static ArrayList<Instruction>Recompiler. recompileHopsDag(StatementBlock sb, ArrayList<Hop> hops, ExecutionContext ec, RecompileStatus status, boolean inplace, boolean replaceLit, long tid)static ArrayList<Instruction>Recompiler. recompileHopsDag(StatementBlock sb, ArrayList<Hop> hops, LocalVariableMap vars, RecompileStatus status, boolean inplace, boolean replaceLit, long tid)static ArrayList<Instruction>Recompiler. recompileHopsDag2Forced(StatementBlock sb, ArrayList<Hop> hops, long tid, Types.ExecType et)static ArrayList<Instruction>Recompiler. recompileHopsDagInstructions(StatementBlock sb, ArrayList<Hop> hops)static booleanRecompiler. requiresRecompilation(ArrayList<Hop> hops)static intRecompiler. rGetMaxParallelism(List<Hop> hops)static voidRecompiler. rSetMaxParallelism(List<Hop> hops, int k)static voidRecompiler. updateFunctionNames(ArrayList<Hop> hops, long pid) -
Uses of Hop in org.apache.sysds.hops.rewrite
Methods in org.apache.sysds.hops.rewrite that return Hop Modifier and Type Method Description static HopHopRewriteUtils. createComputeNnz(Hop input)static HopHopRewriteUtils. createDataGenOp(Hop rowInput, boolean tRowInput, Hop colInput, boolean tColInput, double value)static HopHopRewriteUtils. createDataGenOp(Hop input, double value)static HopHopRewriteUtils. createDataGenOp(Hop rowInput, Hop colInput, double value)static HopHopRewriteUtils. createDataGenOpByVal(ArrayList<LiteralOp> values, long rows, long cols)static HopHopRewriteUtils. createDataGenOpByVal(Hop rowInput, Hop colInput, Hop dimsInput, Types.DataType dt, Types.ValueType vt, double value)static HopHopRewriteUtils. createPartialTsmmCbind(Hop X, Hop deltaX, Hop tsmmIn1)static HopHopRewriteUtils. createScalarIndexing(Hop input, long rix, long cix)static HopHopRewriteUtils. createValueHop(Hop hop, boolean row)static HopHopRewriteUtils. getBasic1NSequenceMax(Hop hop)static HopHopRewriteUtils. getDataGenOpConstantValue(Hop hop)static HopHopRewriteUtils. getLargestInput(Hop hop)static HopHopRewriteUtils. getOtherInput(Hop hop, Hop input)static HopHopRewriteUtils. rewireAllParentChildReferences(Hop hold, Hop hnew)Replace an old Hop with a replacement Hop.abstract HopHopRewriteRule. rewriteHopDAG(Hop root, ProgramRewriteStatus state)Handle a predicate hop DAG with exactly one root.HopProgramRewriter. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteAlgebraicSimplificationDynamic. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteAlgebraicSimplificationStatic. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteBlockSizeAndReblock. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteCommonSubexpressionElimination. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteConstantFolding. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteElementwiseMultChainOptimization. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteFederatedExecution. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteGPUSpecificOps. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteIndexingVectorization. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteInjectSparkPReadCheckpointing. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteMatrixMultChainOptimization. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemoveDanglingParentReferences. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemovePersistentReadWrite. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemoveReadAfterWrite. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemoveUnnecessaryCasts. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteTransientWriteParentHandling. rewriteHopDAG(Hop root, ProgramRewriteStatus state)Methods in org.apache.sysds.hops.rewrite that return types with arguments of type Hop Modifier and Type Method Description ArrayList<Hop>ProgramRewriter. rewriteHopDAG(ArrayList<Hop> roots, ProgramRewriteStatus state)abstract ArrayList<Hop>HopRewriteRule. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)Handle a generic (last-level) hop DAG with multiple roots.ArrayList<Hop>RewriteAlgebraicSimplificationDynamic. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteAlgebraicSimplificationStatic. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteBlockSizeAndReblock. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteCommonSubexpressionElimination. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteConstantFolding. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteElementwiseMultChainOptimization. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteFederatedExecution. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteGPUSpecificOps. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteIndexingVectorization. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteInjectSparkPReadCheckpointing. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteMatrixMultChainOptimization. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemoveDanglingParentReferences. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemovePersistentReadWrite. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemoveReadAfterWrite. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemoveUnnecessaryCasts. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteTransientWriteParentHandling. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)Methods in org.apache.sysds.hops.rewrite with parameters of type Hop Modifier and Type Method Description static voidHopRewriteUtils. addChildReference(Hop parent, Hop child)static voidHopRewriteUtils. addChildReference(Hop parent, Hop child, int pos)static booleanHopRewriteUtils. alwaysRequiresReblock(Hop hop)static booleanHopRewriteUtils. checkInputDataTypes(Hop hop, Types.DataType... dt)static voidHopRewriteUtils. cleanupUnreferenced(Hop... inputs)static intHopRewriteUtils. compareSize(Hop hop1, Hop hop2)Compares the size of outputs from hop1 and hop2, in terms of number of matrix cells.static booleanHopRewriteUtils. containsInput(Hop current, Hop probe)static voidHopRewriteUtils. copyLineNumbers(Hop src, Hop dest)static voidHopRewriteUtils. copyLineNumbers(MatrixObject mo, Hop tread)static voidHopRewriteUtils. copyLineNumbers(MatrixBlock mb, Hop tread)static AggUnaryOpHopRewriteUtils. createAggUnaryOp(Hop input, String op)static AggUnaryOpHopRewriteUtils. createAggUnaryOp(Hop input, Types.AggOp op, Types.Direction dir)static BinaryOpHopRewriteUtils. createBinary(Hop input1, Hop input2, String op)static BinaryOpHopRewriteUtils. createBinary(Hop input1, Hop input2, Types.OpOp2 op)static BinaryOpHopRewriteUtils. createBinary(Hop input1, Hop input2, Types.OpOp2 op, boolean outer)static BinaryOpHopRewriteUtils. createBinaryMinus(Hop input)static HopHopRewriteUtils. createComputeNnz(Hop input)static HopHopRewriteUtils. createDataGenOp(Hop rowInput, boolean tRowInput, Hop colInput, boolean tColInput, double value)static HopHopRewriteUtils. createDataGenOp(Hop input, double value)static HopHopRewriteUtils. createDataGenOp(Hop rowInput, Hop colInput, double value)static HopHopRewriteUtils. createDataGenOpByVal(Hop rowInput, Hop colInput, Hop dimsInput, Types.DataType dt, Types.ValueType vt, double value)static DataOpHopRewriteUtils. createDataOp(String name, Hop in, Types.OpOpData type)static IndexingOpHopRewriteUtils. createIndexingOp(Hop input, long rix, long cix)static IndexingOpHopRewriteUtils. createIndexingOp(Hop input, long rl, long ru, long cl, long cu)static IndexingOpHopRewriteUtils. createIndexingOp(Hop input, Hop batchsize)static IndexingOpHopRewriteUtils. createIndexingOp(Hop input, Hop rl, Hop ru, Hop cl, Hop cu)static LeftIndexingOpHopRewriteUtils. createLeftIndexingOp(Hop lhs, Hop rhs, Hop rl, Hop ru, Hop cl, Hop cu)static AggBinaryOpHopRewriteUtils. createMatrixMultiply(Hop left, Hop right)static NaryOpHopRewriteUtils. createNary(Types.OpOpN op, Hop... inputs)static ParameterizedBuiltinOpHopRewriteUtils. createParameterizedBuiltinOp(Hop input, LinkedHashMap<String,Hop> args, Types.ParamBuiltinOp op)static HopHopRewriteUtils. createPartialTsmmCbind(Hop X, Hop deltaX, Hop tsmmIn1)static ReorgOpHopRewriteUtils. createReorg(Hop input, String rop)static ReorgOpHopRewriteUtils. createReorg(Hop input, Types.ReOrgOp rop)static HopHopRewriteUtils. createScalarIndexing(Hop input, long rix, long cix)static DataGenOpHopRewriteUtils. createSeqDataGenOp(Hop input)static DataGenOpHopRewriteUtils. createSeqDataGenOp(Hop input, boolean asc)static DataGenOpHopRewriteUtils. createSeqDataGenOp(Hop proxy, Hop from, Hop to, Hop incr)static AggUnaryOpHopRewriteUtils. createSum(Hop input)static TernaryOpHopRewriteUtils. createTernary(Hop mleft, Hop smid, Hop mright, String opcode)static TernaryOpHopRewriteUtils. createTernary(Hop mleft, Hop smid, Hop mright, Types.OpOp3 op)static TernaryOpHopRewriteUtils. createTernary(Hop in1, Hop in2, Hop in3, Hop in4, Hop in5, Types.OpOp3 op)static DataOpHopRewriteUtils. createTransientRead(String name, Hop h)static DataOpHopRewriteUtils. createTransientWrite(String name, Hop in)static ReorgOpHopRewriteUtils. createTranspose(Hop input)static AggBinaryOpHopRewriteUtils. createTsmm(Hop input, boolean left)static UnaryOpHopRewriteUtils. createUnary(Hop input, String type)static UnaryOpHopRewriteUtils. createUnary(Hop input, Types.OpOp1 type)static HopHopRewriteUtils. createValueHop(Hop hop, boolean row)static HopHopRewriteUtils. getBasic1NSequenceMax(Hop hop)static intHopRewriteUtils. getChildReferencePos(Hop parent, Hop child)static HopHopRewriteUtils. getDataGenOpConstantValue(Hop hop)static longHopRewriteUtils. getIntValueSafe(Hop op)static HopHopRewriteUtils. getLargestInput(Hop hop)static longHopRewriteUtils. getMaxInputDim(Hop hop, boolean dim1)static longHopRewriteUtils. getMaxNcolInput(Hop hop)static longHopRewriteUtils. getMaxNrowInput(Hop hop)static HopHopRewriteUtils. getOtherInput(Hop hop, Hop input)static longHopRewriteUtils. getSumValidInputDims(Hop hop, boolean dim1)static longHopRewriteUtils. getSumValidInputNnz(Hop hop)static booleanHopRewriteUtils. hasListInputs(Hop hop)static booleanHopRewriteUtils. hasOnlyUnaryBinaryParents(Hop hop, boolean disallowLhs)static booleanHopRewriteUtils. hasOnlyWriteParents(Hop hop, boolean inclTransient, boolean inclPersistent)static booleanHopRewriteUtils. hasValidInputDims(Hop hop, boolean dim1)static booleanHopRewriteUtils. hasValidInputNnz(Hop hop)static booleanHopRewriteUtils. isAggUnaryOp(Hop hop, Types.AggOp... op)static booleanHopRewriteUtils. isAggUnaryOp(Hop hop, Types.AggOp op, Types.Direction dir)static booleanHopRewriteUtils. isBasic1NSequence(Hop hop)static booleanHopRewriteUtils. isBasic1NSequence(Hop seq, Hop input, boolean row)static booleanHopRewriteUtils. isBasicN1Sequence(Hop hop)static booleanHopRewriteUtils. isBinary(Hop hop, Types.OpOp2 type)static booleanHopRewriteUtils. isBinary(Hop hop, Types.OpOp2... types)static booleanHopRewriteUtils. isBinary(Hop hop, Types.OpOp2 type, int maxParents)static booleanHopRewriteUtils. isBinaryMatrixColVectorOperation(Hop hop)static booleanHopRewriteUtils. isBinaryMatrixMatrixOperation(Hop hop)static booleanHopRewriteUtils. isBinaryMatrixMatrixOperationWithSharedInput(Hop hop)static booleanHopRewriteUtils. isBinaryMatrixRowVectorOperation(Hop hop)static booleanHopRewriteUtils. isBinaryMatrixScalar(Hop hop, Types.OpOp2 type, double val)static booleanHopRewriteUtils. isBinaryMatrixScalarOperation(Hop hop)static booleanHopRewriteUtils. isBinaryPPred(Hop hop)static booleanHopRewriteUtils. isBinarySparseSafe(Hop hop)static booleanHopRewriteUtils. isColumnRightIndexing(Hop hop)static booleanHopRewriteUtils. isConsecutiveIndex(Hop index, Hop index2)static booleanHopRewriteUtils. isData(Hop hop, Types.OpOpData type)static booleanHopRewriteUtils. isData(Hop hop, Types.OpOpData... types)static booleanHopRewriteUtils. isDataGenOp(Hop hop, Types.OpOpDG... ops)static booleanHopRewriteUtils. isDataGenOpWithConstantValue(Hop hop)static booleanHopRewriteUtils. isDataGenOpWithConstantValue(Hop hop, double value)static booleanHopRewriteUtils. isDataGenOpWithLiteralInputs(Hop hop, Types.OpOpDG... ops)static booleanHopRewriteUtils. isDataGenOpWithNonDeterminism(Hop hop)static booleanHopRewriteUtils. isDense(Hop hop)static booleanHopRewriteUtils. isDimsKnown(Hop hop)static booleanHopRewriteUtils. isDnn(Hop hop, Types.OpOpDnn type)static booleanHopRewriteUtils. isDnn(Hop hop, Types.OpOpDnn... types)static booleanHopRewriteUtils. isEmpty(Hop hop)static booleanHopRewriteUtils. isEqualSize(Hop hop1, Hop hop2)static booleanHopRewriteUtils. isEqualSize(Hop hop1, Hop... hops)static booleanHopRewriteUtils. isEqualValue(Hop hop1, Hop hop2)static booleanHopRewriteUtils. isLiteralOfValue(Hop hop, boolean val)static booleanHopRewriteUtils. isLiteralOfValue(Hop hop, double val)static booleanHopRewriteUtils. isLiteralOfValue(Hop hop, Double... val)static booleanHopRewriteUtils. isLiteralOfValue(Hop hop, String val)static booleanHopRewriteUtils. isMatrixMultiply(Hop hop)static booleanHopRewriteUtils. isNary(Hop hop, Types.OpOpN type)static booleanHopRewriteUtils. isNary(Hop hop, Types.OpOpN... types)static booleanHopRewriteUtils. isNonZeroIndicator(Hop pred, Hop hop)static booleanHopRewriteUtils. isNotMatrixVectorBinaryOperation(Hop hop)static booleanHopRewriteUtils. isOuterBinary(Hop hop)static booleanHopRewriteUtils. isOuterProductLikeMM(Hop hop)static booleanHopRewriteUtils. isParameterBuiltinOp(Hop hop, Types.ParamBuiltinOp type)static booleanHopRewriteUtils. isRemoveEmpty(Hop hop)static booleanHopRewriteUtils. isRemoveEmpty(Hop hop, boolean rows)static booleanHopRewriteUtils. isReorg(Hop hop, Types.ReOrgOp type)static booleanHopRewriteUtils. isReorg(Hop hop, Types.ReOrgOp... types)static booleanHopRewriteUtils. isScalarMatrixBinaryMult(Hop hop)static booleanHopRewriteUtils. isSingleBlock(Hop hop)static booleanHopRewriteUtils. isSingleBlock(Hop hop, boolean cols)Checks our BLOCKSIZE CONSTRAINT, w/ awareness of forced single node execution mode.static booleanHopRewriteUtils. isSizeExpressionOf(Hop size, Hop input, boolean row)static booleanHopRewriteUtils. isSparse(Hop hop)static booleanHopRewriteUtils. isSparse(Hop hop, double threshold)static booleanHopRewriteUtils. isSum(Hop hop)static booleanHopRewriteUtils. isSumSq(Hop hop)static booleanHopRewriteUtils. isTerminalHop(Hop hop)Check if given hop is of a terminal type.static booleanHopRewriteUtils. isTernary(Hop hop, Types.OpOp3 type)static booleanHopRewriteUtils. isTernary(Hop hop, Types.OpOp3... types)static booleanHopRewriteUtils. isTransposeOfItself(Hop hop1, Hop hop2)static booleanHopRewriteUtils. isTransposeOperation(Hop hop)static booleanHopRewriteUtils. isTransposeOperation(Hop hop, int maxParents)static booleanHopRewriteUtils. isTsmm(Hop input)static booleanHopRewriteUtils. isTsmmInput(Hop input)static booleanHopRewriteUtils. isUnary(Hop hop, Types.OpOp1 type)static booleanHopRewriteUtils. isUnary(Hop hop, Types.OpOp1... types)static booleanHopRewriteUtils. isUnary(Hop hop, Types.OpOp1 type, int maxParents)static booleanHopRewriteUtils. isUnnecessaryRightIndexing(Hop hop)static booleanHopRewriteUtils. knownParamservFunctions(Hop hop)static booleanHopRewriteUtils. knownParamservFunctions(Hop hop, DMLProgram prog)static booleanHopRewriteUtils. rContainsRead(Hop root, String var, boolean includeMetaOp)static voidHopRewriteUtils. refreshOutputParameters(Hop hnew, Hop hold)static voidHopRewriteUtils. removeAllChildReferences(Hop parent)static voidHopRewriteUtils. removeChildReference(Hop parent, Hop child)static voidHopRewriteUtils. removeChildReferenceByPos(Hop parent, Hop child, int posChild)static voidHopRewriteUtils. replaceChildReference(Hop parent, Hop inOld, Hop inNew)static voidHopRewriteUtils. replaceChildReference(Hop parent, Hop inOld, Hop inNew, int pos)static voidHopRewriteUtils. replaceChildReference(Hop parent, Hop inOld, Hop inNew, int pos, boolean refresh)static HopHopRewriteUtils. rewireAllParentChildReferences(Hop hold, Hop hnew)Replace an old Hop with a replacement Hop.abstract HopHopRewriteRule. rewriteHopDAG(Hop root, ProgramRewriteStatus state)Handle a predicate hop DAG with exactly one root.HopProgramRewriter. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteAlgebraicSimplificationDynamic. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteAlgebraicSimplificationStatic. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteBlockSizeAndReblock. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteCommonSubexpressionElimination. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteConstantFolding. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteElementwiseMultChainOptimization. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteFederatedExecution. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteGPUSpecificOps. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteIndexingVectorization. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteInjectSparkPReadCheckpointing. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteMatrixMultChainOptimization. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemoveDanglingParentReferences. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemovePersistentReadWrite. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemoveReadAfterWrite. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteRemoveUnnecessaryCasts. rewriteHopDAG(Hop root, ProgramRewriteStatus state)HopRewriteTransientWriteParentHandling. rewriteHopDAG(Hop root, ProgramRewriteStatus state)static booleanHopRewriteUtils. rHasSimpleReadChain(Hop root, String var)static booleanRewriteCompressedReblock. satisfiesAggressiveCompressionCondition(Hop hop)static booleanRewriteCompressedReblock. satisfiesCompressionCondition(Hop hop)static booleanRewriteCompressedReblock. satisfiesSizeConstraintsForCompression(Hop hop)static voidHopRewriteUtils. setOutputParameters(Hop hop, long rlen, long clen, int blen, long nnz)static voidHopRewriteUtils. setOutputParametersForScalar(Hop hop)static voidHopRewriteUtils. updateHopCharacteristics(Hop hop, int blen, Hop src)static voidHopRewriteUtils. updateHopCharacteristics(Hop hop, int blen, MemoTable memo, Hop src)static voidHopDagValidator. validateHopDag(Hop root, HopRewriteRule rule)Method parameters in org.apache.sysds.hops.rewrite with type arguments of type Hop Modifier and Type Method Description static booleanHopRewriteUtils. checkAvgRowsGteCols(List<Hop> list)static booleanHopRewriteUtils. checkConsistentRows(List<Hop> list1, List<Hop> list2)static booleanHopRewriteUtils. containsOp(ArrayList<Hop> candidates, Class<? extends Hop> clazz)static booleanHopRewriteUtils. containsOp(ArrayList<Hop> candidates, Class<? extends Hop> clazz)static booleanHopRewriteUtils. containsSecondOrderBuiltin(ArrayList<Hop> roots)static booleanHopRewriteUtils. containsTransposeOperation(ArrayList<Hop> hops)static ParameterizedBuiltinOpHopRewriteUtils. createParameterizedBuiltinOp(Hop input, LinkedHashMap<String,Hop> args, Types.ParamBuiltinOp op)static ReorgOpHopRewriteUtils. createReorg(ArrayList<Hop> inputs, Types.ReOrgOp rop)ArrayList<Hop>ProgramRewriter. rewriteHopDAG(ArrayList<Hop> roots, ProgramRewriteStatus state)abstract ArrayList<Hop>HopRewriteRule. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)Handle a generic (last-level) hop DAG with multiple roots.ArrayList<Hop>RewriteAlgebraicSimplificationDynamic. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteAlgebraicSimplificationStatic. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteBlockSizeAndReblock. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteCommonSubexpressionElimination. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteConstantFolding. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteElementwiseMultChainOptimization. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteFederatedExecution. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteGPUSpecificOps. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteIndexingVectorization. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteInjectSparkPReadCheckpointing. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteMatrixMultChainOptimization. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemoveDanglingParentReferences. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemovePersistentReadWrite. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemoveReadAfterWrite. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteRemoveUnnecessaryCasts. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)ArrayList<Hop>RewriteTransientWriteParentHandling. rewriteHopDAGs(ArrayList<Hop> roots, ProgramRewriteStatus state)static voidHopDagValidator. validateHopDag(ArrayList<Hop> roots, HopRewriteRule rule) -
Uses of Hop in org.apache.sysds.parser
Methods in org.apache.sysds.parser that return Hop Modifier and Type Method Description HopForStatementBlock. getFromHops()HopForStatementBlock. getIncrementHops()HopIfStatementBlock. getPredicateHops()HopWhileStatementBlock. getPredicateHops()HopForStatementBlock. getToHops()Methods in org.apache.sysds.parser that return types with arguments of type Hop Modifier and Type Method Description ArrayList<Hop>StatementBlock. getHops()Methods in org.apache.sysds.parser with parameters of type Hop Modifier and Type Method Description voidForStatementBlock. setFromHops(Hop hops)voidDMLTranslator. setIdentifierParams(Hop h, Identifier id)voidForStatementBlock. setIncrementHops(Hop hops)voidIfStatementBlock. setPredicateHops(Hop hops)voidWhileStatementBlock. setPredicateHops(Hop hops)voidForStatementBlock. setToHops(Hop hops)Method parameters in org.apache.sysds.parser with type arguments of type Hop Modifier and Type Method Description voidStatementBlock. setHops(ArrayList<Hop> hops) -
Uses of Hop in org.apache.sysds.runtime.compress.workload
Methods in org.apache.sysds.runtime.compress.workload that return Hop Modifier and Type Method Description HopOp. getHop()HopOpMetadata. getParent()HopWTreeRoot. getRoot()Get the Root hop instruction, that is producing a result used in the rest of the tree.Constructors in org.apache.sysds.runtime.compress.workload with parameters of type Hop Constructor Description Op(Hop op)OpMetadata(Hop op, Hop parent)OpNormal(Hop op, boolean compressedOut)OpSided(Hop op, boolean cLeft, boolean cRight, boolean tLeft, boolean tRight)WTreeRoot(Hop root) -
Uses of Hop in org.apache.sysds.runtime.controlprogram
Methods in org.apache.sysds.runtime.controlprogram with parameters of type Hop Modifier and Type Method Description ScalarObjectProgramBlock. executePredicate(ArrayList<Instruction> inst, Hop hops, boolean requiresRecompile, Types.ValueType retType, ExecutionContext ec)Executes given predicate instructions (incl recompilation if required) -
Uses of Hop in org.apache.sysds.runtime.controlprogram.parfor.opt
Methods in org.apache.sysds.runtime.controlprogram.parfor.opt that return Hop Modifier and Type Method Description HopOptTree. getMappedHop(long id)HopOptTreePlanMappingAbstract. getMappedHop(long id)Methods in org.apache.sysds.runtime.controlprogram.parfor.opt with parameters of type Hop Modifier and Type Method Description longOptTreePlanMappingAbstract. putHopMapping(Hop hops, OptNode n)static ArrayList<OptNode>OptTreeConverter. rCreateAbstractOptNodes(Hop hop, LocalVariableMap vars, OptTreePlanMappingAbstract hlMap, Set<String> memo)Method parameters in org.apache.sysds.runtime.controlprogram.parfor.opt with type arguments of type Hop Modifier and Type Method Description static ArrayList<OptNode>OptTreeConverter. createAbstractOptNodes(ArrayList<Hop> hops, LocalVariableMap vars, OptTreePlanMappingAbstract hlMap, Set<String> memo) -
Uses of Hop in org.apache.sysds.runtime.lineage
Methods in org.apache.sysds.runtime.lineage with parameters of type Hop Modifier and Type Method Description static voidLineageItemUtils. constructLineageFromHops(Hop[] roots, String claName, Hop[] inputs, HashMap<Long,Hop> spoofmap)static voidLineageItemUtils. rConstructLineageFromHops(Hop root, Hop[] inputs, Map<Long,LineageItem> operands, HashMap<Long,Hop> spoofmap)Method parameters in org.apache.sysds.runtime.lineage with type arguments of type Hop Modifier and Type Method Description static voidLineageItemUtils. constructLineageFromHops(Hop[] roots, String claName, Hop[] inputs, HashMap<Long,Hop> spoofmap)static voidLineageItemUtils. rConstructLineageFromHops(Hop root, Hop[] inputs, Map<Long,LineageItem> operands, HashMap<Long,Hop> spoofmap) -
Uses of Hop in org.apache.sysds.runtime.matrix.data
Methods in org.apache.sysds.runtime.matrix.data with parameters of type Hop Modifier and Type Method Description voidDnnParameters. setIfUnknown(Hop N, Hop C, Hop H, Hop W, Hop K, Hop R, Hop S, Hop stride_h, Hop stride_w, Hop pad_h, Hop pad_w, int numThreads) -
Uses of Hop in org.apache.sysds.runtime.privacy.propagation
Methods in org.apache.sysds.runtime.privacy.propagation with parameters of type Hop Modifier and Type Method Description static voidPrivacyPropagator. hopPropagation(Hop hop)Propagate privacy constraints from input hops to given hop. -
Uses of Hop in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return types with arguments of type Hop Modifier and Type Method Description static ArrayList<Hop>AutoDiff. constructHopsNR(LineageItem item, Map<Long,Hop> operands, Hop mo, ArrayList<String> names)Methods in org.apache.sysds.runtime.util with parameters of type Hop Modifier and Type Method Description static ArrayList<Hop>AutoDiff. constructHopsNR(LineageItem item, Map<Long,Hop> operands, Hop mo, ArrayList<String> names)Method parameters in org.apache.sysds.runtime.util with type arguments of type Hop Modifier and Type Method Description static ArrayList<Hop>AutoDiff. constructHopsNR(LineageItem item, Map<Long,Hop> operands, Hop mo, ArrayList<String> names) -
Uses of Hop in org.apache.sysds.utils
Methods in org.apache.sysds.utils with parameters of type Hop Modifier and Type Method Description static StringExplain. explain(Hop hop)static StringExplain. explain(Hop hop, int level)Method parameters in org.apache.sysds.utils with type arguments of type Hop Modifier and Type Method Description static StringExplain. explainHops(ArrayList<Hop> hops)static StringExplain. explainHops(ArrayList<Hop> hops, int level)
-