Class InitFEDInstruction
java.lang.Object
org.apache.sysds.runtime.instructions.Instruction
org.apache.sysds.runtime.instructions.fed.FEDInstruction
org.apache.sysds.runtime.instructions.fed.InitFEDInstruction
- All Implemented Interfaces:
LineageTraceable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstruction
FEDInstruction.FederatedOutput, FEDInstruction.FEDTypeNested classes/interfaces inherited from class org.apache.sysds.runtime.instructions.Instruction
Instruction.IType -
Field Summary
FieldsFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfederateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers) static voidfederateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers, CacheBlock<?>[] blocks) static voidfederateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers) static voidfederateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers, CacheBlock<?>[] blocks) org.apache.commons.lang3.tuple.Pair<String,LineageItem> Obtain lineage trace of an instruction with a single output.static InitFEDInstructionparseInstruction(String str) static String[]static String[]parseURLNoFilePath(String input) voidvoidThis method should be used to execute the instruction.Methods inherited from class org.apache.sysds.runtime.instructions.fed.FEDInstruction
getFEDInstructionType, getTID, getType, setTIDMethods 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, 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
-
Field Details
-
FED_MATRIX_IDENTIFIER
- See Also:
-
FED_FRAME_IDENTIFIER
- See Also:
-
-
Constructor Details
-
InitFEDInstruction
-
InitFEDInstruction
-
-
Method Details
-
parseInstruction
-
processInstruction
Description copied from class:InstructionThis method should be used to execute the instruction.- Specified by:
processInstructionin classInstruction- Parameters:
ec- execution context
-
processFromLocalFedInit
-
parseURLNoFilePath
-
parseURL
-
federateMatrix
public static void federateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers) -
federateMatrix
public static void federateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers, CacheBlock<?>[] blocks) -
federateFrame
public static void federateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers) -
federateFrame
public static void federateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers, CacheBlock<?>[] blocks) -
getLineageItem
Description copied from interface:LineageTraceableObtain lineage trace of an instruction with a single output.- Specified by:
getLineageItemin interfaceLineageTraceable- Parameters:
ec- execution context w/ live variables- Returns:
- pair of (output variable name, output lineage item)
-