DynamicCustomOp.DynamicCustomOpsBuilderdimensions, isComplex, isEmptyReduce, keepDimsaxis, bArguments, dArguments, iArguments, inplaceCall, inputArguments, outputArguments, outputVariables, sArguments, tArgumentsextraArgs, inPlace, ownName, ownNameSetWithDefault, sameDiff, scalarValue| Constructor and Description |
|---|
BaseDynamicCustomIndexReduction() |
BaseDynamicCustomIndexReduction(boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(INDArray[] inputs,
boolean keepDims,
int[] dimensions) |
BaseDynamicCustomIndexReduction(INDArray[] inputs,
INDArray[] outputs) |
BaseDynamicCustomIndexReduction(INDArray[] inputs,
INDArray[] outputs,
boolean keepDims) |
BaseDynamicCustomIndexReduction(INDArray[] inputs,
INDArray[] outputs,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(INDArray[] input,
INDArray[] output,
boolean keepDims,
boolean isComplex,
int[] dimensions) |
BaseDynamicCustomIndexReduction(INDArray[] inputs,
INDArray[] outputs,
boolean keepDims,
int... dimensions) |
BaseDynamicCustomIndexReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims) |
BaseDynamicCustomIndexReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
boolean isComplex) |
BaseDynamicCustomIndexReduction(SameDiff sameDiff,
SDVariable[] args,
boolean inPlace,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
boolean isComplex,
int[] dimensions) |
BaseDynamicCustomIndexReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
int[] dimensions) |
BaseDynamicCustomIndexReduction(SameDiff sameDiff,
SDVariable arg,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(String opName,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(String opName,
INDArray[] inputs,
INDArray[] outputs,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(String opName,
INDArray[] inputs,
INDArray[] outputs,
List<Double> tArguments,
int[] iArguments,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(String opName,
INDArray[] inputs,
INDArray[] outputs,
List<Double> tArguments,
List<Integer> iArguments,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(String opName,
INDArray input,
INDArray output,
List<Double> tArguments,
int[] iArguments,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(String opName,
SameDiff sameDiff,
SDVariable[] args,
boolean inPlace,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomIndexReduction(String opName,
SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
| Modifier and Type | Method and Description |
|---|---|
List<DataType> |
calculateOutputDataTypes(List<DataType> dataTypes)
Calculate the data types for the output arrays.
|
List<LongShapeDescriptor> |
calculateOutputShape()
Calculate the output shape for this op
|
addArgs, opNameaddBArgument, addDArgument, addIArgument, addIArgument, addInputArgument, addOutputArgument, addSArgument, addTArgument, assertValidForExecution, bArgs, builder, calculateOutputShape, clearArrays, computeArrays, configureFromArguments, dArgs, doDiff, generateFake, generateFake, getBArgument, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getSArgument, getTArgument, getValue, iArgs, initFromOnnx, initFromTensorFlow, inputArguments, mappingsForFunction, numBArguments, numDArguments, numIArguments, numInputArguments, numOutputArguments, numSArguments, numTArguments, onnxName, opHash, opNum, opType, outputArguments, outputVariables, outputVariables, propertiesForFunction, removeIArgument, removeInputArgument, removeOutputArgument, removeSArgument, removeTArgument, sArgs, setInputArgument, setInputArguments, setOutputArgument, setPropertiesForFunction, setValueFor, tArgs, tensorflowName, toString, wrapFilterNull, wrapOrNull, wrapOrNullarg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, configureWithSameDiff, diff, dup, equals, getBooleanFromProperty, getDoubleValueFromProperty, getIntValueFromProperty, getLongValueFromProperty, getNumOutputs, getStringFromProperty, hashCode, isConfigProperties, larg, onnxNames, outputs, outputVariable, outputVariablesNames, rarg, replaceArg, setInstanceId, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitisInplaceCallpublic BaseDynamicCustomIndexReduction()
public BaseDynamicCustomIndexReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims)
public BaseDynamicCustomIndexReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, int[] dimensions)
public BaseDynamicCustomIndexReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex)
public BaseDynamicCustomIndexReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex, int[] dimensions)
public BaseDynamicCustomIndexReduction(INDArray[] inputs, INDArray[] outputs)
public BaseDynamicCustomIndexReduction(INDArray[] inputs, INDArray[] outputs, boolean keepDims)
public BaseDynamicCustomIndexReduction(INDArray[] inputs, INDArray[] outputs, boolean keepDims, int... dimensions)
public BaseDynamicCustomIndexReduction(INDArray[] inputs, boolean keepDims, int[] dimensions)
public BaseDynamicCustomIndexReduction(boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions)
public BaseDynamicCustomIndexReduction(SameDiff sameDiff, SDVariable arg, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(String opName, SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(String opName, INDArray input, INDArray output, List<Double> tArguments, int[] iArguments, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(String opName, INDArray[] inputs, INDArray[] outputs, List<Double> tArguments, int[] iArguments, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(String opName, INDArray[] inputs, INDArray[] outputs, List<Double> tArguments, List<Integer> iArguments, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(INDArray[] inputs, INDArray[] outputs, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(String opName, INDArray[] inputs, INDArray[] outputs, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(String opName, SameDiff sameDiff, SDVariable[] args, boolean inPlace, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(SameDiff sameDiff, SDVariable[] args, boolean inPlace, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomIndexReduction(String opName, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public List<LongShapeDescriptor> calculateOutputShape()
DifferentialFunctioncalculateOutputShape in interface CustomOpcalculateOutputShape in class DynamicCustomOppublic List<DataType> calculateOutputDataTypes(List<DataType> dataTypes)
BaseDynamicCustomReductionDynamicCustomOp.calculateOutputShape(), this method differs in that it does not
require the input arrays to be populated.
This is important as it allows us to do greedy datatype inference for the entire net - even if arrays are not
available.calculateOutputDataTypes in class BaseDynamicCustomReductiondataTypes - The data types of the inputsCopyright © 2022. All rights reserved.