Package org.apache.sysds.runtime.einsum
Class EOpNodeBinary
java.lang.Object
org.apache.sysds.runtime.einsum.EOpNode
org.apache.sysds.runtime.einsum.EOpNodeBinary
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEOpNodeBinary(EOpNode left, EOpNode right, EOpNodeBinary.EBinaryOperand operand) -
Method Summary
Modifier and TypeMethodDescriptionstatic EOpNodeBinarycombineMatrixMultiply(EOpNode left, EOpNode right) computeEOpNode(List<MatrixBlock> inputs, int numThreads, org.apache.commons.logging.Log LOG) reorderChildrenAndOptimize(EOpNode parent, Character outChar1, Character outChar2) voidsetTransposeResult(boolean transposeResult) toString()static org.apache.commons.lang3.tuple.Triple<Integer,EOpNodeBinary.EBinaryOperand, org.apache.commons.lang3.tuple.Pair<Character, Character>> tryCombineAndCost(EOpNode n1, EOpNode n2, HashMap<Character, Integer> charToSizeMap, HashMap<Character, Integer> charToOccurences, Character outChar1, Character outChar2) Methods inherited from class org.apache.sysds.runtime.einsum.EOpNode
getOutputString, recursivePrintString
-
Field Details
-
left
-
right
-
operand
-
-
Constructor Details
-
EOpNodeBinary
-
-
Method Details
-
setTransposeResult
public void setTransposeResult(boolean transposeResult) -
combineMatrixMultiply
-
getChildren
- Specified by:
getChildrenin classEOpNode
-
toString
-
computeEOpNode
public MatrixBlock computeEOpNode(List<MatrixBlock> inputs, int numThreads, org.apache.commons.logging.Log LOG) - Specified by:
computeEOpNodein classEOpNode
-
reorderChildrenAndOptimize
- Specified by:
reorderChildrenAndOptimizein classEOpNode
-
tryCombineAndCost
public static org.apache.commons.lang3.tuple.Triple<Integer,EOpNodeBinary.EBinaryOperand, tryCombineAndCostorg.apache.commons.lang3.tuple.Pair<Character, Character>> (EOpNode n1, EOpNode n2, HashMap<Character, Integer> charToSizeMap, HashMap<Character, Integer> charToOccurences, Character outChar1, Character outChar2)
-