public class Eye extends DynamicCustomOp
DynamicCustomOp.DynamicCustomOpsBuilder, DynamicCustomOp.SameDiffBuilder
iArguments, inplaceCall, inputArguments, outputArguments, outputVariables, tArguments
dimensions, 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, toString
arg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, equals, f, getNumOutputs, getValue, hashCode, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariablesNames, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNames
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isInplaceCall
public 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()
DifferentialFunction
onnxName
in class DynamicCustomOp
public String tensorflowName()
DifferentialFunction
tensorflowName
in class DynamicCustomOp
public String opName()
DynamicCustomOp
opName
in interface CustomOp
opName
in class DynamicCustomOp
public List<SDVariable> doDiff(List<SDVariable> outGrad)
DifferentialFunction
doDiff
in class DynamicCustomOp
Copyright © 2018. All rights reserved.