public abstract class BaseDynamicCustomLongReduction extends BaseDynamicCustomReduction
DynamicCustomOp.DynamicCustomOpsBuilderdimensions, isComplex, isEmptyReduce, keepDimsaxis, bArguments, dArguments, iArguments, inplaceCall, inputArguments, outputArguments, outputVariables, sArguments, tArgumentsextraArgs, inPlace, ownName, ownNameSetWithDefault, sameDiff, scalarValue| Constructor and Description |
|---|
BaseDynamicCustomLongReduction() |
BaseDynamicCustomLongReduction(boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(INDArray[] inputs,
boolean keepDims,
int[] dimensions) |
BaseDynamicCustomLongReduction(INDArray[] inputs,
INDArray[] outputs) |
BaseDynamicCustomLongReduction(INDArray[] inputs,
INDArray[] outputs,
boolean keepDims) |
BaseDynamicCustomLongReduction(INDArray[] inputs,
INDArray[] outputs,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(INDArray[] input,
INDArray[] output,
boolean keepDims,
boolean isComplex,
int[] dimensions) |
BaseDynamicCustomLongReduction(INDArray[] inputs,
INDArray[] outputs,
boolean keepDims,
int[] dimensions) |
BaseDynamicCustomLongReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims) |
BaseDynamicCustomLongReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
boolean isComplex) |
BaseDynamicCustomLongReduction(SameDiff sameDiff,
SDVariable[] args,
boolean inPlace,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
boolean isComplex,
int[] dimensions) |
BaseDynamicCustomLongReduction(SameDiff sameDiff,
SDVariable[] args,
boolean keepDims,
int[] dimensions) |
BaseDynamicCustomLongReduction(SameDiff sameDiff,
SDVariable arg,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(String opName,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(String opName,
INDArray[] inputs,
INDArray[] outputs,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(String opName,
INDArray[] inputs,
INDArray[] outputs,
List<Double> tArguments,
int[] iArguments,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(String opName,
INDArray[] inputs,
INDArray[] outputs,
List<Double> tArguments,
List<Integer> iArguments,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(String opName,
INDArray input,
INDArray output,
List<Double> tArguments,
int[] iArguments,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(String opName,
SameDiff sameDiff,
SDVariable[] args,
boolean inPlace,
boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions) |
BaseDynamicCustomLongReduction(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
|
int |
getNumOutputs() |
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, getStringFromProperty, hashCode, isConfigProperties, larg, onnxNames, outputs, outputVariable, outputVariablesNames, rarg, replaceArg, setInstanceId, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitisInplaceCallpublic BaseDynamicCustomLongReduction()
public BaseDynamicCustomLongReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims)
public BaseDynamicCustomLongReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, int[] dimensions)
public BaseDynamicCustomLongReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex)
public BaseDynamicCustomLongReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex, int[] dimensions)
public BaseDynamicCustomLongReduction(INDArray[] inputs, INDArray[] outputs)
public BaseDynamicCustomLongReduction(INDArray[] inputs, INDArray[] outputs, boolean keepDims)
public BaseDynamicCustomLongReduction(INDArray[] inputs, INDArray[] outputs, boolean keepDims, int[] dimensions)
public BaseDynamicCustomLongReduction(INDArray[] inputs, boolean keepDims, int[] dimensions)
public BaseDynamicCustomLongReduction(boolean keepDims,
boolean isComplex,
boolean isEmptyReduce,
int[] dimensions)
public BaseDynamicCustomLongReduction(SameDiff sameDiff, SDVariable arg, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(String opName, SameDiff sameDiff, SDVariable[] args, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(String opName, INDArray input, INDArray output, List<Double> tArguments, int[] iArguments, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(String opName, INDArray[] inputs, INDArray[] outputs, List<Double> tArguments, int[] iArguments, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(String opName, INDArray[] inputs, INDArray[] outputs, List<Double> tArguments, List<Integer> iArguments, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(INDArray[] inputs, INDArray[] outputs, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(String opName, INDArray[] inputs, INDArray[] outputs, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(String opName, SameDiff sameDiff, SDVariable[] args, boolean inPlace, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(SameDiff sameDiff, SDVariable[] args, boolean inPlace, boolean keepDims, boolean isComplex, boolean isEmptyReduce, int[] dimensions)
public BaseDynamicCustomLongReduction(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 inputspublic int getNumOutputs()
getNumOutputs in class DifferentialFunctionCopyright © 2022. All rights reserved.