public class ParameterizedBuiltinSPInstruction extends ComputationSPInstruction
Modifier and Type | Class and Description |
---|---|
static class |
ParameterizedBuiltinSPInstruction.CreateMatrixCell |
static class |
ParameterizedBuiltinSPInstruction.RDDMapGroupedAggFunction |
static class |
ParameterizedBuiltinSPInstruction.RDDMapGroupedAggFunction2
Similar to RDDMapGroupedAggFunction but single output block.
|
static class |
ParameterizedBuiltinSPInstruction.RDDRemoveEmptyFunction |
static class |
ParameterizedBuiltinSPInstruction.RDDRemoveEmptyFunctionInMem |
static class |
ParameterizedBuiltinSPInstruction.RDDReplaceFunction |
static class |
ParameterizedBuiltinSPInstruction.RDDRExpandFunction |
static class |
ParameterizedBuiltinSPInstruction.RDDTransformApplyFunction |
static class |
ParameterizedBuiltinSPInstruction.RDDTransformApplyOffsetFunction |
static class |
ParameterizedBuiltinSPInstruction.RDDTransformDecodeExpandFunction |
static class |
ParameterizedBuiltinSPInstruction.RDDTransformDecodeFunction |
SPInstruction.SPINSTRUCTION_TYPE
Instruction.INSTRUCTION_TYPE
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,String> |
params |
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 |
---|
ParameterizedBuiltinSPInstruction(org.apache.sysml.runtime.matrix.operators.Operator op,
HashMap<String,String> paramsMap,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr,
boolean bRmEmptyBC) |
Modifier and Type | Method and Description |
---|---|
static HashMap<String,String> |
constructParameterMap(String[] params) |
HashMap<String,String> |
getParams() |
static ParameterizedBuiltinSPInstruction |
parseInstruction(String str) |
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
void |
setOutputCharacteristicsForGroupedAgg(MatrixCharacteristics mc1,
MatrixCharacteristics mcOut,
org.apache.spark.api.java.JavaPairRDD<MatrixIndexes,MatrixCell> out) |
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 static ParameterizedBuiltinSPInstruction 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 occurspublic void setOutputCharacteristicsForGroupedAgg(MatrixCharacteristics mc1, MatrixCharacteristics mcOut, org.apache.spark.api.java.JavaPairRDD<MatrixIndexes,MatrixCell> out) throws DMLRuntimeException
DMLRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.