public class ExtractImagePatches extends DynamicCustomOp
DynamicCustomOp.DynamicCustomOpsBuilderaxis, bArguments, iArguments, inplaceCall, inputArguments, outputArguments, outputVariables, tArgumentsdimensions, extraArgs, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
ExtractImagePatches() |
ExtractImagePatches(INDArray input,
int[] kSizes,
int[] strides,
int[] rates,
boolean sameMode) |
ExtractImagePatches(SameDiff samediff,
SDVariable input,
int[] kSizes,
int[] strides,
int[] rates,
boolean sameMode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgs() |
List<SDVariable> |
doDiff(List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
int |
getNumOutputs() |
void |
initFromTensorFlow(NodeDef nodeDef,
SameDiff initWith,
Map<String,AttrValue> attributesForNode,
GraphDef graph)
Initialize the function from the given
NodeDef |
String |
opName()
This method returns op opName as string
|
String |
tensorflowName()
The opName of this function tensorflow
|
addBArgument, addIArgument, addIArgument, addInputArgument, addOutputArgument, addTArgument, assertValidForExecution, bArgs, builder, calculateOutputShape, getBArgument, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, initFromOnnx, inputArguments, numBArguments, numIArguments, numInputArguments, numOutputArguments, numTArguments, onnxName, opHash, opNum, opType, outputArguments, outputVariables, outputVariables, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, setInputArgument, setInputArguments, setOutputArgument, tArgs, toString, wrapFilterNull, wrapOrNullarg, arg, argNames, args, attributeAdaptersForFunction, calculateOutputDataTypes, configFieldName, diff, dup, equals, f, getValue, hashCode, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariablesNames, propertiesForFunction, rarg, replaceArg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitisInplaceCallpublic ExtractImagePatches()
public ExtractImagePatches(@NonNull
SameDiff samediff,
@NonNull
SDVariable input,
@NonNull
int[] kSizes,
@NonNull
int[] strides,
@NonNull
int[] rates,
boolean sameMode)
public ExtractImagePatches(@NonNull
INDArray input,
@NonNull
int[] kSizes,
@NonNull
int[] strides,
@NonNull
int[] rates,
boolean sameMode)
public String opName()
DynamicCustomOpopName in interface CustomOpopName in class DynamicCustomOppublic String tensorflowName()
DifferentialFunctiontensorflowName in class DynamicCustomOppublic void initFromTensorFlow(NodeDef nodeDef, SameDiff initWith, Map<String,AttrValue> attributesForNode, GraphDef graph)
DifferentialFunctionNodeDefinitFromTensorFlow in class DynamicCustomOpprotected void addArgs()
public List<SDVariable> doDiff(List<SDVariable> f1)
DifferentialFunctiondoDiff in class DynamicCustomOppublic int getNumOutputs()
getNumOutputs in class DifferentialFunctionCopyright © 2019. All rights reserved.