Class ReorgFEDInstruction
- java.lang.Object
 - 
- org.apache.sysds.runtime.instructions.Instruction
 - 
- org.apache.sysds.runtime.instructions.fed.FEDInstruction
 - 
- org.apache.sysds.runtime.instructions.fed.ComputationFEDInstruction
 - 
- org.apache.sysds.runtime.instructions.fed.UnaryFEDInstruction
 - 
- org.apache.sysds.runtime.instructions.fed.ReorgFEDInstruction
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 LineageTraceable
public class ReorgFEDInstruction extends UnaryFEDInstruction
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReorgFEDInstruction.DiagMatrixstatic classReorgFEDInstruction.Rdiagstatic classReorgFEDInstruction.SliceMatrix- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstruction
FEDInstruction.FederatedOutput, FEDInstruction.FEDType 
- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.Instruction
Instruction.IType 
 - 
 
- 
Field Summary
- 
Fields inherited from class org.apache.sysds.runtime.instructions.fed.ComputationFEDInstruction
input1, input2, input3, output 
- 
Fields inherited from class org.apache.sysds.runtime.instructions.Instruction
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ReorgFEDInstruction(Operator op, CPOperand in1, CPOperand out, String opcode, String istr)ReorgFEDInstruction(Operator op, CPOperand in1, CPOperand out, String opcode, String istr, FEDInstruction.FederatedOutput fedOut) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReorgFEDInstructionparseInstruction(String str)static ReorgFEDInstructionparseInstruction(ReorgCPInstruction rinst)static ReorgFEDInstructionparseInstruction(ReorgSPInstruction rinst)voidprocessInstruction(ExecutionContext ec)This method should be used to execute the instruction.org.apache.commons.lang3.tuple.Pair<FederationMap,Long>rollFedMap(List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> oldMap, long inID, long outEndID, long outStartID, long shift, long rlen, FTypes.FType type)- 
Methods inherited from class org.apache.sysds.runtime.instructions.fed.UnaryFEDInstruction
parseInstruction, parseInstruction 
- 
Methods inherited from class org.apache.sysds.runtime.instructions.fed.ComputationFEDInstruction
getLineageItem, getOutputVariableName 
- 
Methods inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstruction
getFEDInstructionType, getTID, getType, setTID 
- 
Methods inherited from class org.apache.sysds.runtime.instructions.Instruction
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getGraphString, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, postprocessInstruction, preprocessInstruction, printMe, requiresLabelUpdate, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadID 
- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.apache.sysds.runtime.lineage.LineageTraceable
getLineageItems, hasSingleLineage 
 - 
 
 - 
 
- 
- 
Method Detail
- 
parseInstruction
public static ReorgFEDInstruction parseInstruction(ReorgCPInstruction rinst)
 
- 
parseInstruction
public static ReorgFEDInstruction parseInstruction(ReorgSPInstruction rinst)
 
- 
parseInstruction
public static ReorgFEDInstruction parseInstruction(String str)
 
- 
processInstruction
public void processInstruction(ExecutionContext ec)
Description copied from class:InstructionThis method should be used to execute the instruction.- Specified by:
 processInstructionin classInstruction- Parameters:
 ec- execution context
 
- 
rollFedMap
public org.apache.commons.lang3.tuple.Pair<FederationMap,Long> rollFedMap(List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> oldMap, long inID, long outEndID, long outStartID, long shift, long rlen, FTypes.FType type)
 
 - 
 
 -