Class QuantileSortCPInstruction
java.lang.Object
org.apache.sysds.runtime.instructions.Instruction
org.apache.sysds.runtime.instructions.cp.CPInstruction
org.apache.sysds.runtime.instructions.cp.ComputationCPInstruction
org.apache.sysds.runtime.instructions.cp.UnaryCPInstruction
org.apache.sysds.runtime.instructions.cp.QuantileSortCPInstruction
- All Implemented Interfaces:
LineageTraceable
This class supports two variants of sort operation on a 1-dimensional input matrix.
The two variants are
weighted and unweighted .
Example instructions:
sort:mVar1:mVar2 (input=mVar1, output=mVar2)
sort:mVar1:mVar2:mVar3 (input=mVar1, weights=mVar2, output=mVar3)-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.cp.CPInstruction
CPInstruction.CPTypeNested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.Instruction
Instruction.IType -
Field Summary
Fields inherited from class org.apache.sysds.runtime.instructions.cp.ComputationCPInstruction
input1, input2, input3, input4, outputFields inherited from class org.apache.sysds.runtime.instructions.Instruction
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OOC_INST_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX -
Method Summary
Modifier and TypeMethodDescriptionintstatic QuantileSortCPInstructionparseInstruction(String str) voidThis method should be used to execute the instruction.Methods inherited from class org.apache.sysds.runtime.instructions.cp.ComputationCPInstruction
getInputs, getLineageItem, getOutput, getOutputVariableName, hasFrameInputMethods inherited from class org.apache.sysds.runtime.instructions.cp.CPInstruction
getCPInstructionType, getGraphString, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate, updateLabelsMethods inherited from class org.apache.sysds.runtime.instructions.Instruction
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadIDMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sysds.runtime.lineage.LineageTraceable
getLineageItems, hasSingleLineage
-
Method Details
-
parseInstruction
-
processInstruction
Description copied from class:InstructionThis method should be used to execute the instruction.- Specified by:
processInstructionin classCPInstruction- Parameters:
ec- execution context
-
getNumThreads
public int getNumThreads()
-