public class RandSPInstruction extends UnarySPInstruction
SPInstruction.SPType
Instruction.IType
input1, input2, input3, output
_optr, _requiresLabelUpdate, _sptype
beginCol, beginLine, DATATYPE_PREFIX, endCol, endLine, filename, GPU_INST_PREFIX, instOpcode, INSTRUCTION_DELIM, instString, LITERAL_PREFIX, LOG, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Modifier and Type | Method and Description |
---|---|
long |
getCols() |
int |
getColsInBlock() |
double |
getMaxValue() |
double |
getMinValue() |
long |
getRows() |
int |
getRowsInBlock() |
double |
getSparsity() |
static RandSPInstruction |
parseInstruction(String str) |
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
getOutputVariableName, updateBinaryOutputMatrixCharacteristics, updateUnaryAggOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristics, updateUnaryOutputMatrixCharacteristics
getGraphString, getSPInstructionType, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadID
public long getRows()
public long getCols()
public int getRowsInBlock()
public int getColsInBlock()
public double getMinValue()
public double getMaxValue()
public double getSparsity()
public static RandSPInstruction parseInstruction(String str)
public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
Instruction
processInstruction
in class SPInstruction
ec
- execution contextCopyright © 2018 The Apache Software Foundation. All rights reserved.