public class Eye extends DynamicCustomOp
DynamicCustomOp.DynamicCustomOpsBuilder, DynamicCustomOp.SameDiffBuilderiArguments, inplaceCall, inputArguments, outputArguments, outputVariables, tArgumentsdimensions, extraArgs, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
Eye() |
Eye(SameDiff sameDiff,
int numRows) |
Eye(SameDiff sameDiff,
int numRows,
int numCols) |
Eye(SameDiff sameDiff,
int numRows,
int numCols,
int[] batchDimension) |
Eye(SameDiff sameDiff,
SDVariable numRows) |
Eye(SameDiff sameDiff,
SDVariable numRows,
SDVariable numCols) |
Eye(SameDiff sameDiff,
SDVariable numRows,
SDVariable numCols,
SDVariable batch_shape) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgs() |
List<SDVariable> |
doDiff(List<SDVariable> outGrad)
The actual implementation for automatic differentiation.
|
String |
onnxName()
The opName of this function in onnx
|
String |
opName()
This method returns op opName as string
|
String |
tensorflowName()
The opName of this function tensorflow
|
addIArgument, addIArgument, addInputArgument, addOutputArgument, addTArgument, asProperties, assertValidForExecution, builder, calculateOutputShape, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, initFromOnnx, initFromTensorFlow, inputArguments, numIArguments, numInputArguments, numOutputArguments, numTArguments, opHash, opNum, opType, outputArguments, outputVariables, outputVariables, populateInputsAndOutputsFromSameDiff, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, sameDiffBuilder, setInputArgument, setOutputArgument, tArgs, toStringarg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, equals, f, getNumOutputs, getValue, hashCode, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariablesNames, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitisInplaceCallpublic Eye()
public Eye(SameDiff sameDiff, SDVariable numRows)
public Eye(SameDiff sameDiff, SDVariable numRows, SDVariable numCols)
public Eye(SameDiff sameDiff, SDVariable numRows, SDVariable numCols, SDVariable batch_shape)
public Eye(SameDiff sameDiff, int numRows)
public Eye(SameDiff sameDiff, int numRows, int numCols)
public Eye(SameDiff sameDiff, int numRows, int numCols, int[] batchDimension)
protected void addArgs()
public String onnxName()
DifferentialFunctiononnxName in class DynamicCustomOppublic String tensorflowName()
DifferentialFunctiontensorflowName in class DynamicCustomOppublic String opName()
DynamicCustomOpopName in interface CustomOpopName in class DynamicCustomOppublic List<SDVariable> doDiff(List<SDVariable> outGrad)
DifferentialFunctiondoDiff in class DynamicCustomOpCopyright © 2018. All rights reserved.