public abstract class ComputationSPInstruction extends SPInstruction
SPInstruction.SPINSTRUCTION_TYPE
Instruction.INSTRUCTION_TYPE
Modifier and Type | Field and Description |
---|---|
org.apache.sysml.runtime.instructions.cp.CPOperand |
input1 |
org.apache.sysml.runtime.instructions.cp.CPOperand |
input2 |
org.apache.sysml.runtime.instructions.cp.CPOperand |
input3 |
org.apache.sysml.runtime.instructions.cp.CPOperand |
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 |
---|
ComputationSPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr) |
ComputationSPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
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 |
---|---|
String |
getOutputVariableName() |
protected void |
updateBinaryOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec) |
protected void |
updateUnaryAggOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
org.apache.sysml.runtime.functionobjects.IndexFunction ixFn) |
protected void |
updateUnaryOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec) |
protected void |
updateUnaryOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec,
String nameIn,
String nameOut) |
getGraphString, getSPInstructionType, postprocessInstruction, preprocessInstruction, processInstruction, requiresLabelUpdate
getExtendedOpcode, getInstID, getLineNum, getOpcode, getType, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setType, toString, updateInstructionThreadID
public org.apache.sysml.runtime.instructions.cp.CPOperand output
public org.apache.sysml.runtime.instructions.cp.CPOperand input1
public org.apache.sysml.runtime.instructions.cp.CPOperand input2
public org.apache.sysml.runtime.instructions.cp.CPOperand input3
public ComputationSPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op, 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 ComputationSPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op, org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand in3, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr)
public String getOutputVariableName()
protected void updateUnaryOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec) throws DMLRuntimeException
DMLRuntimeException
protected void updateUnaryOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, String nameIn, String nameOut) throws DMLRuntimeException
DMLRuntimeException
protected void updateBinaryOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec) throws DMLRuntimeException
DMLRuntimeException
protected void updateUnaryAggOutputMatrixCharacteristics(org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext sec, org.apache.sysml.runtime.functionobjects.IndexFunction ixFn) throws DMLRuntimeException
DMLRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.