Class ScalarBuiltinNaryCPInstruction
java.lang.Object
org.apache.sysds.runtime.instructions.Instruction
org.apache.sysds.runtime.instructions.cp.CPInstruction
org.apache.sysds.runtime.instructions.cp.BuiltinNaryCPInstruction
org.apache.sysds.runtime.instructions.cp.ScalarBuiltinNaryCPInstruction
- All Implemented Interfaces:
LineageTraceable
public class ScalarBuiltinNaryCPInstruction
extends BuiltinNaryCPInstruction
implements LineageTraceable
The ScalarBuiltinMultipleCPInstruction class is responsible for printf-style
Java-based string formatting. The first input is the format string. The
inputs after the first input are the arguments to be formatted in the format
string.
-
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.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 TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair<String,LineageItem> Obtain lineage trace of an instruction with a single output.voidThis method should be used to execute the instruction.Methods inherited from class org.apache.sysds.runtime.instructions.cp.BuiltinNaryCPInstruction
getInputs, getOutput, parseInstructionMethods 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
-
processInstruction
Description copied from class:InstructionThis method should be used to execute the instruction.- Specified by:
processInstructionin classCPInstruction- Parameters:
ec- execution context
-
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)
-