public class UaggOuterChainSPInstruction extends BinarySPInstruction
SPInstruction.SPINSTRUCTION_TYPE
Instruction.INSTRUCTION_TYPE
input1, input2, input3, output
_optr, _requiresLabelUpdate, _sptype
beginCol, beginLine, DATATYPE_PREFIX, endCol, endLine, GPU_INST_PREFIX, instOpcode, INSTRUCTION_DELIM, instString, LITERAL_PREFIX, LOG, OPERAND_DELIM, SP_INST_PREFIX, type, VALUETYPE_PREFIX
Constructor and Description |
---|
UaggOuterChainSPInstruction(org.apache.sysml.runtime.matrix.operators.BinaryOperator bop,
org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator uaggop,
org.apache.sysml.runtime.matrix.operators.AggregateOperator aggop,
org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr) |
Modifier and Type | Method and Description |
---|---|
static UaggOuterChainSPInstruction |
parseInstruction(String str) |
protected static boolean |
preservesPartitioning(MatrixCharacteristics mcIn,
org.apache.sysml.runtime.functionobjects.IndexFunction ixfun) |
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
protected void |
updateUnaryAggOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec) |
checkBinaryAppendInputCharacteristics, checkMatrixMatrixBinaryCharacteristics, getNumReplicas, parseBinaryInstruction, parseBinaryInstruction, processMatrixBVectorBinaryInstruction, processMatrixMatrixBinaryInstruction, processMatrixScalarBinaryInstruction, updateBinaryAppendOutputMatrixCharacteristics, updateBinaryMMOutputMatrixCharacteristics
getOutputVariableName, updateBinaryOutputMatrixCharacteristics, updateUnaryAggOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristics
getGraphString, getSPInstructionType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate
getExtendedOpcode, getInstID, getLineNum, getOpcode, getType, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadID
public UaggOuterChainSPInstruction(org.apache.sysml.runtime.matrix.operators.BinaryOperator bop, org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator uaggop, org.apache.sysml.runtime.matrix.operators.AggregateOperator aggop, org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr)
public static UaggOuterChainSPInstruction parseInstruction(String str) throws DMLRuntimeException
DMLRuntimeException
public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) throws DMLRuntimeException
Instruction
processInstruction
in class SPInstruction
ec
- execution contextDMLRuntimeException
- if DMLRuntimeException occursprotected static boolean preservesPartitioning(MatrixCharacteristics mcIn, org.apache.sysml.runtime.functionobjects.IndexFunction ixfun)
protected void updateUnaryAggOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec) throws DMLRuntimeException
DMLRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.