Class UnaryMatrixFEDInstruction
- 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.UnaryMatrixFEDInstruction
-
- All Implemented Interfaces:
LineageTraceable
public class UnaryMatrixFEDInstruction extends UnaryFEDInstruction
-
-
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.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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isValidOpcode(String opcode)
static UnaryMatrixFEDInstruction
parseInstruction(String str)
static UnaryMatrixFEDInstruction
parseInstruction(UnaryMatrixCPInstruction instr)
static UnaryMatrixFEDInstruction
parseInstruction(UnaryMatrixSPInstruction instr)
void
processCumulativeInstruction(ExecutionContext ec, MatrixObject mo1)
void
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.-
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
-
isValidOpcode
public static boolean isValidOpcode(String opcode)
-
parseInstruction
public static UnaryMatrixFEDInstruction parseInstruction(UnaryMatrixCPInstruction instr)
-
parseInstruction
public static UnaryMatrixFEDInstruction parseInstruction(UnaryMatrixSPInstruction instr)
-
parseInstruction
public static UnaryMatrixFEDInstruction 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
-
processCumulativeInstruction
public void processCumulativeInstruction(ExecutionContext ec, MatrixObject mo1)
-
-