Class SpoofFEDInstruction
- java.lang.Object
-
- org.apache.sysds.runtime.instructions.Instruction
-
- org.apache.sysds.runtime.instructions.fed.FEDInstruction
-
- org.apache.sysds.runtime.instructions.fed.SpoofFEDInstruction
-
public class SpoofFEDInstruction extends FEDInstruction
-
-
Nested Class Summary
-
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.Instruction
DATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isFederated(ExecutionContext ec, FTypes.FType type, CPOperand[] inputs, Class<?> scla)
static boolean
isFederated(ExecutionContext ec, CPOperand[] inputs, Class<?> scla)
static SpoofFEDInstruction
parseInstruction(String str)
static SpoofFEDInstruction
parseInstruction(SpoofCPInstruction inst, ExecutionContext ec)
static SpoofFEDInstruction
parseInstruction(SpoofSPInstruction inst, ExecutionContext ec)
void
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.-
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
-
-
-
-
Method Detail
-
parseInstruction
public static SpoofFEDInstruction parseInstruction(SpoofCPInstruction inst, ExecutionContext ec)
-
parseInstruction
public static SpoofFEDInstruction parseInstruction(SpoofSPInstruction inst, ExecutionContext ec)
-
parseInstruction
public static SpoofFEDInstruction parseInstruction(String str)
-
processInstruction
public void processInstruction(ExecutionContext ec)
Description copied from class:Instruction
This method should be used to execute the instruction.- Specified by:
processInstruction
in classInstruction
- Parameters:
ec
- execution context
-
isFederated
public static boolean isFederated(ExecutionContext ec, CPOperand[] inputs, Class<?> scla)
-
isFederated
public static boolean isFederated(ExecutionContext ec, FTypes.FType type, CPOperand[] inputs, Class<?> scla)
-
-