public class DataGenCPInstruction extends UnaryCPInstruction
CPInstruction.CPTypeInstruction.ITypeinput1, input2, input3, outputDATATYPE_PREFIX, FEDERATED_INST_PREFIX, GPU_INST_PREFIX, INSTRUCTION_DELIM, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX| Modifier and Type | Method and Description |
|---|---|
int |
getBlocksize() |
long |
getCols() |
String |
getDims() |
long |
getFrom() |
long |
getIncr() |
org.apache.commons.lang3.tuple.Pair<String,LineageItem> |
getLineageItem(ExecutionContext ec)
Obtain lineage trace of an instruction with a single output.
|
double |
getMaxValue() |
double |
getMinValue() |
String |
getPdf() |
String |
getPdfParams() |
long |
getRows() |
long |
getSeed() |
double |
getSparsity() |
long |
getTo() |
boolean |
isMatrixCall() |
boolean |
isOnesCol() |
static DataGenCPInstruction |
parseInstruction(String str) |
void |
processInstruction(ExecutionContext ec)
This method should be used to execute the instruction.
|
getInputs, getOutput, getOutputVariableNamegetCPInstructionType, getGraphString, getType, preprocessInstruction, requiresLabelUpdate, updateLabelsgetBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getInstructionString, getLineNum, getOpcode, getOperator, getPrivacyConstraint, postprocessInstruction, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, setPrivacyConstraint, setPrivacyConstraint, toString, updateInstructionThreadIDequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLineageItems, hasSingleLineagepublic long getRows()
public long getCols()
public String getDims()
public int getBlocksize()
public double getMinValue()
public double getMaxValue()
public double getSparsity()
public String getPdf()
public String getPdfParams()
public long getSeed()
public boolean isOnesCol()
public boolean isMatrixCall()
public long getFrom()
public long getTo()
public long getIncr()
public static DataGenCPInstruction parseInstruction(String str)
public void processInstruction(ExecutionContext ec)
InstructionprocessInstruction in class CPInstructionec - execution contextpublic org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec)
LineageTraceablegetLineageItem in interface LineageTraceablegetLineageItem in class ComputationCPInstructionec - execution context w/ live variablesCopyright © 2020 The Apache Software Foundation. All rights reserved.