public final class Ops extends Object
Graph
with operation wrappers
Any operation wrapper found in the classpath properly annotated as an@Operator
is exposed
by this API or one of its subgroup.
Example usage:
try (Graph g = new Graph()) {
Ops ops = new Ops(g);
// Operations are typed classes with convenience
// builders in Ops.
Constant three = ops.constant(3);
// Single-result operations implement the Operand
// interface, so this works too.
Operand four = ops.constant(4);
// Most builders are found within a group, and accept
// Operand types as operands
Operand nine = ops.math().add(four, ops.constant(5));
// Multi-result operations however offer methods to
// select a particular result for use.
Operand result =
ops.math().add(ops.array().unique(s, a).y(), b);
// Optional attributes
ops.math().matMul(a, b, MatMul.transposeA(true));
// Naming operators
ops.withName(“foo”).constant(5); // name “foo”
// Names can exist in a hierarchy
Ops sub = ops.withSubScope(“sub”);
sub.withName(“bar”).constant(4); // “sub/bar”
}
Modifier and Type | Method and Description |
---|---|
Abort |
abort(Abort.Options... options)
Adds an
Abort operation to the graph |
<T extends Number> |
abs(Operand<T> x)
Adds an
Abs operation to the graph |
<T> AccumulateNV2<T> |
accumulateNV2(Operand<T> inputs,
Shape shape)
Adds an
AccumulateNV2 operation to the graph |
<T> AccumulatorApplyGradient |
accumulatorApplyGradient(Operand<String> handle,
Operand<Long> localStep,
Operand<T> gradient)
Adds an
AccumulatorApplyGradient operation to the graph |
AccumulatorNumAccumulated |
accumulatorNumAccumulated(Operand<String> handle)
Adds an
AccumulatorNumAccumulated operation to the graph |
AccumulatorSetGlobalStep |
accumulatorSetGlobalStep(Operand<String> handle,
Operand<Long> newGlobalStep)
Adds an
AccumulatorSetGlobalStep operation to the graph |
<T> AccumulatorTakeGradient<T> |
accumulatorTakeGradient(Operand<String> handle,
Operand<Integer> numRequired,
Class<T> dtype)
Adds an
AccumulatorTakeGradient operation to the graph |
<T> Acos<T> |
acos(Operand<T> x)
Adds an
Acos operation to the graph |
<T> Acosh<T> |
acosh(Operand<T> x)
Adds an
Acosh operation to the graph |
<T> Add<T> |
add(Operand<T> x,
Operand<T> y)
Adds an
Add operation to the graph |
<T> AddManySparseToTensorsMap |
addManySparseToTensorsMap(Operand<Long> sparseIndices,
Operand<T> sparseValues,
Operand<Long> sparseShape,
AddManySparseToTensorsMap.Options... options)
Adds an
AddManySparseToTensorsMap operation to the graph |
<T> AddN<T> |
addN(Operand<T> inputs)
Adds an
AddN operation to the graph |
<T> AddSparseToTensorsMap |
addSparseToTensorsMap(Operand<Long> sparseIndices,
Operand<T> sparseValues,
Operand<Long> sparseShape,
AddSparseToTensorsMap.Options... options)
Adds an
AddSparseToTensorsMap operation to the graph |
<T> AddV2<T> |
addV2(Operand<T> x,
Operand<T> y)
Adds an
AddV2 operation to the graph |
AdjustContrast |
adjustContrast(Operand<Float> images,
Operand<Float> contrastFactor)
Adds an
AdjustContrast operation to the graph |
AdjustHue |
adjustHue(Operand<Float> images,
Operand<Float> delta)
Adds an
AdjustHue operation to the graph |
AdjustSaturation |
adjustSaturation(Operand<Float> images,
Operand<Float> scale)
Adds an
AdjustSaturation operation to the graph |
<T extends Number> |
all(Operand<Boolean> input,
Operand<T> axis,
All.Options... options)
Adds an
All operation to the graph |
AllCandidateSampler |
allCandidateSampler(Operand<Long> trueClasses,
Long numTrue,
Long numSampled,
Boolean unique,
AllCandidateSampler.Options... options)
Adds an
AllCandidateSampler operation to the graph |
<U extends Number,T> |
angle(Operand<T> input,
Class<U> Tout)
Adds an
Angle operation to the graph |
AnonymousIterator |
anonymousIterator(List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
AnonymousIterator operation to the graph |
<T extends Number> |
any(Operand<Boolean> input,
Operand<T> axis,
Any.Options... options)
Adds an
Any operation to the graph |
<T> ApplyAdadelta<T> |
applyAdadelta(Operand<T> var,
Operand<T> accum,
Operand<T> accumUpdate,
Operand<T> lr,
Operand<T> rho,
Operand<T> epsilon,
Operand<T> grad,
ApplyAdadelta.Options... options)
Adds an
ApplyAdadelta operation to the graph |
<T> ApplyAdagrad<T> |
applyAdagrad(Operand<T> var,
Operand<T> accum,
Operand<T> lr,
Operand<T> grad,
ApplyAdagrad.Options... options)
Adds an
ApplyAdagrad operation to the graph |
<T> ApplyAdagradDA<T> |
applyAdagradDA(Operand<T> var,
Operand<T> gradientAccumulator,
Operand<T> gradientSquaredAccumulator,
Operand<T> grad,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<Long> globalStep,
ApplyAdagradDA.Options... options)
Adds an
ApplyAdagradDA operation to the graph |
<T> ApplyAdam<T> |
applyAdam(Operand<T> var,
Operand<T> m,
Operand<T> v,
Operand<T> beta1Power,
Operand<T> beta2Power,
Operand<T> lr,
Operand<T> beta1,
Operand<T> beta2,
Operand<T> epsilon,
Operand<T> grad,
ApplyAdam.Options... options)
Adds an
ApplyAdam operation to the graph |
<T> ApplyAddSign<T> |
applyAddSign(Operand<T> var,
Operand<T> m,
Operand<T> lr,
Operand<T> alpha,
Operand<T> signDecay,
Operand<T> beta,
Operand<T> grad,
ApplyAddSign.Options... options)
Adds an
ApplyAddSign operation to the graph |
<T> ApplyCenteredRMSProp<T> |
applyCenteredRMSProp(Operand<T> var,
Operand<T> mg,
Operand<T> ms,
Operand<T> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
ApplyCenteredRMSProp.Options... options)
Adds an
ApplyCenteredRMSProp operation to the graph |
<T> ApplyFtrl<T> |
applyFtrl(Operand<T> var,
Operand<T> accum,
Operand<T> linear,
Operand<T> grad,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> lrPower,
ApplyFtrl.Options... options)
Adds an
ApplyFtrl operation to the graph |
<T> ApplyFtrlV2<T> |
applyFtrlV2(Operand<T> var,
Operand<T> accum,
Operand<T> linear,
Operand<T> grad,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> l2Shrinkage,
Operand<T> lrPower,
ApplyFtrlV2.Options... options)
Adds an
ApplyFtrlV2 operation to the graph |
<T> ApplyGradientDescent<T> |
applyGradientDescent(Operand<T> var,
Operand<T> alpha,
Operand<T> delta,
ApplyGradientDescent.Options... options)
Adds an
ApplyGradientDescent operation to the graph |
<T> ApplyMomentum<T> |
applyMomentum(Operand<T> var,
Operand<T> accum,
Operand<T> lr,
Operand<T> grad,
Operand<T> momentum,
ApplyMomentum.Options... options)
Adds an
ApplyMomentum operation to the graph |
<T> ApplyPowerSign<T> |
applyPowerSign(Operand<T> var,
Operand<T> m,
Operand<T> lr,
Operand<T> logbase,
Operand<T> signDecay,
Operand<T> beta,
Operand<T> grad,
ApplyPowerSign.Options... options)
Adds an
ApplyPowerSign operation to the graph |
<T> ApplyProximalAdagrad<T> |
applyProximalAdagrad(Operand<T> var,
Operand<T> accum,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> grad,
ApplyProximalAdagrad.Options... options)
Adds an
ApplyProximalAdagrad operation to the graph |
<T> ApplyProximalGradientDescent<T> |
applyProximalGradientDescent(Operand<T> var,
Operand<T> alpha,
Operand<T> l1,
Operand<T> l2,
Operand<T> delta,
ApplyProximalGradientDescent.Options... options)
Adds an
ApplyProximalGradientDescent operation to the graph |
<T> ApplyRMSProp<T> |
applyRMSProp(Operand<T> var,
Operand<T> ms,
Operand<T> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
ApplyRMSProp.Options... options)
Adds an
ApplyRMSProp operation to the graph |
<T> ApproximateEqual |
approximateEqual(Operand<T> x,
Operand<T> y,
ApproximateEqual.Options... options)
Adds an
ApproximateEqual operation to the graph |
<V extends Number,T,U extends Number> |
argMax(Operand<T> input,
Operand<U> dimension,
Class<V> outputType)
Adds an
ArgMax operation to the graph |
<V extends Number,T,U extends Number> |
argMin(Operand<T> input,
Operand<U> dimension,
Class<V> outputType)
Adds an
ArgMin operation to the graph |
<T> Asin<T> |
asin(Operand<T> x)
Adds an
Asin operation to the graph |
<T> Asinh<T> |
asinh(Operand<T> x)
Adds an
Asinh operation to the graph |
<T> Assign<T> |
assign(Operand<T> ref,
Operand<T> value,
Assign.Options... options)
Adds an
Assign operation to the graph |
<T> AssignAdd<T> |
assignAdd(Operand<T> ref,
Operand<T> value,
AssignAdd.Options... options)
Adds an
AssignAdd operation to the graph |
<T> AssignAddVariableOp |
assignAddVariableOp(Operand<?> resource,
Operand<T> value)
Adds an
AssignAddVariableOp operation to the graph |
<T> AssignSub<T> |
assignSub(Operand<T> ref,
Operand<T> value,
AssignSub.Options... options)
Adds an
AssignSub operation to the graph |
<T> AssignSubVariableOp |
assignSubVariableOp(Operand<?> resource,
Operand<T> value)
Adds an
AssignSubVariableOp operation to the graph |
<T> AssignVariableOp |
assignVariableOp(Operand<?> resource,
Operand<T> value)
Adds an
AssignVariableOp operation to the graph |
<T> AsString |
asString(Operand<T> input,
AsString.Options... options)
Adds an
AsString operation to the graph |
<T> Atan<T> |
atan(Operand<T> x)
Adds an
Atan operation to the graph |
<T extends Number> |
atan2(Operand<T> y,
Operand<T> x)
Adds an
Atan2 operation to the graph |
<T> Atanh<T> |
atanh(Operand<T> x)
Adds an
Atanh operation to the graph |
AudioSpectrogram |
audioSpectrogram(Operand<Float> input,
Long windowSize,
Long stride,
AudioSpectrogram.Options... options)
Adds an
AudioSpectrogram operation to the graph |
AudioSummary |
audioSummary(Operand<String> tag,
Operand<Float> tensor,
Operand<Float> sampleRate,
AudioSummary.Options... options)
Adds an
AudioSummary operation to the graph |
<T extends Number> |
avgPool(Operand<T> value,
List<Long> ksize,
List<Long> strides,
String padding,
AvgPool.Options... options)
Adds an
AvgPool operation to the graph |
<T extends Number> |
avgPool3D(Operand<T> input,
List<Long> ksize,
List<Long> strides,
String padding,
AvgPool3D.Options... options)
Adds an
AvgPool3D operation to the graph |
<T extends Number> |
avgPool3DGrad(Operand<Integer> origInputShape,
Operand<T> grad,
List<Long> ksize,
List<Long> strides,
String padding,
AvgPool3DGrad.Options... options)
Adds an
AvgPool3DGrad operation to the graph |
Barrier |
barrier(List<Class<?>> componentTypes,
Barrier.Options... options)
Adds an
Barrier operation to the graph |
BarrierClose |
barrierClose(Operand<String> handle,
BarrierClose.Options... options)
Adds an
BarrierClose operation to the graph |
BarrierIncompleteSize |
barrierIncompleteSize(Operand<String> handle)
Adds an
BarrierIncompleteSize operation to the graph |
<T> BarrierInsertMany |
barrierInsertMany(Operand<String> handle,
Operand<String> keys,
Operand<T> values,
Long componentIndex)
Adds an
BarrierInsertMany operation to the graph |
BarrierReadySize |
barrierReadySize(Operand<String> handle)
Adds an
BarrierReadySize operation to the graph |
BarrierTakeMany |
barrierTakeMany(Operand<String> handle,
Operand<Integer> numElements,
List<Class<?>> componentTypes,
BarrierTakeMany.Options... options)
Adds an
BarrierTakeMany operation to the graph |
Batch |
batch(Iterable<Operand<?>> inTensors,
Long numBatchThreads,
Long maxBatchSize,
Long batchTimeoutMicros,
Long gradTimeoutMicros,
Batch.Options... options)
Adds an
Batch operation to the graph |
<T extends Number> |
batchCholesky(Operand<T> input)
Adds an
BatchCholesky operation to the graph |
<T extends Number> |
batchCholeskyGrad(Operand<T> l,
Operand<T> grad)
Adds an
BatchCholeskyGrad operation to the graph |
BatchDataset |
batchDataset(Operand<?> inputDataset,
Operand<Long> batchSize,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
BatchDataset operation to the graph |
BatchFFT |
batchFFT(Operand<?> input)
Adds an
BatchFFT operation to the graph |
BatchFFT2D |
batchFFT2D(Operand<?> input)
Adds an
BatchFFT2D operation to the graph |
BatchFFT3D |
batchFFT3D(Operand<?> input)
Adds an
BatchFFT3D operation to the graph |
BatchIFFT |
batchIFFT(Operand<?> input)
Adds an
BatchIFFT operation to the graph |
BatchIFFT2D |
batchIFFT2D(Operand<?> input)
Adds an
BatchIFFT2D operation to the graph |
BatchIFFT3D |
batchIFFT3D(Operand<?> input)
Adds an
BatchIFFT3D operation to the graph |
<T> BatchMatMul<T> |
batchMatMul(Operand<T> x,
Operand<T> y,
BatchMatMul.Options... options)
Adds an
BatchMatMul operation to the graph |
<T> BatchMatrixBandPart<T> |
batchMatrixBandPart(Operand<T> input,
Operand<Long> numLower,
Operand<Long> numUpper)
Adds an
BatchMatrixBandPart operation to the graph |
<T> BatchMatrixDeterminant<T> |
batchMatrixDeterminant(Operand<T> input)
Adds an
BatchMatrixDeterminant operation to the graph |
<T> BatchMatrixDiag<T> |
batchMatrixDiag(Operand<T> diagonal)
Adds an
BatchMatrixDiag operation to the graph |
<T> BatchMatrixDiagPart<T> |
batchMatrixDiagPart(Operand<T> input)
Adds an
BatchMatrixDiagPart operation to the graph |
<T extends Number> |
batchMatrixInverse(Operand<T> input,
BatchMatrixInverse.Options... options)
Adds an
BatchMatrixInverse operation to the graph |
<T> BatchMatrixSetDiag<T> |
batchMatrixSetDiag(Operand<T> input,
Operand<T> diagonal)
Adds an
BatchMatrixSetDiag operation to the graph |
<T extends Number> |
batchMatrixSolve(Operand<T> matrix,
Operand<T> rhs,
BatchMatrixSolve.Options... options)
Adds an
BatchMatrixSolve operation to the graph |
<T extends Number> |
batchMatrixSolveLs(Operand<T> matrix,
Operand<T> rhs,
Operand<Double> l2Regularizer,
BatchMatrixSolveLs.Options... options)
Adds an
BatchMatrixSolveLs operation to the graph |
<T extends Number> |
batchMatrixTriangularSolve(Operand<T> matrix,
Operand<T> rhs,
BatchMatrixTriangularSolve.Options... options)
Adds an
BatchMatrixTriangularSolve operation to the graph |
<T> BatchNormWithGlobalNormalization<T> |
batchNormWithGlobalNormalization(Operand<T> t,
Operand<T> m,
Operand<T> v,
Operand<T> beta,
Operand<T> gamma,
Float varianceEpsilon,
Boolean scaleAfterNormalization)
Adds an
BatchNormWithGlobalNormalization operation to the graph |
<T> BatchNormWithGlobalNormalizationGrad<T> |
batchNormWithGlobalNormalizationGrad(Operand<T> t,
Operand<T> m,
Operand<T> v,
Operand<T> gamma,
Operand<T> backprop,
Float varianceEpsilon,
Boolean scaleAfterNormalization)
Adds an
BatchNormWithGlobalNormalizationGrad operation to the graph |
<T extends Number> |
batchSelfAdjointEig(Operand<T> input)
Adds an
BatchSelfAdjointEig operation to the graph |
<T extends Number> |
batchSelfAdjointEigV2(Operand<T> input,
BatchSelfAdjointEigV2.Options... options)
Adds an
BatchSelfAdjointEigV2 operation to the graph |
<T> BatchSvd<T> |
batchSvd(Operand<T> input,
BatchSvd.Options... options)
Adds an
BatchSvd operation to the graph |
<T,U extends Number> |
batchToSpace(Operand<T> input,
Operand<U> crops,
Long blockSize)
Adds an
BatchToSpace operation to the graph |
<T,U extends Number,V extends Number> |
batchToSpaceND(Operand<T> input,
Operand<U> blockShape,
Operand<V> crops)
Adds an
BatchToSpaceND operation to the graph |
<T extends Number> |
besselI0e(Operand<T> x)
Adds an
BesselI0e operation to the graph |
<T extends Number> |
besselI1e(Operand<T> x)
Adds an
BesselI1e operation to the graph |
<T extends Number> |
betainc(Operand<T> a,
Operand<T> b,
Operand<T> x)
Adds an
Betainc operation to the graph |
<T> BiasAdd<T> |
biasAdd(Operand<T> value,
Operand<T> bias,
BiasAdd.Options... options)
Adds an
BiasAdd operation to the graph |
<T> BiasAddGrad<T> |
biasAddGrad(Operand<T> outBackprop,
BiasAddGrad.Options... options)
Adds an
BiasAddGrad operation to the graph |
BigQueryReader |
bigQueryReader(String projectId,
String datasetId,
String tableId,
List<String> columns,
Long timestampMillis,
BigQueryReader.Options... options)
Adds an
BigQueryReader operation to the graph |
<T extends Number> |
bincount(Operand<Integer> arr,
Operand<Integer> size,
Operand<T> weights)
Adds an
Bincount operation to the graph |
<U,T> Bitcast<U> |
bitcast(Operand<T> input,
Class<U> type)
Adds an
Bitcast operation to the graph |
<T extends Number> |
bitwiseAnd(Operand<T> x,
Operand<T> y)
Adds an
BitwiseAnd operation to the graph |
<T extends Number> |
bitwiseOr(Operand<T> x,
Operand<T> y)
Adds an
BitwiseOr operation to the graph |
<T extends Number> |
bitwiseXor(Operand<T> x,
Operand<T> y)
Adds an
BitwiseXor operation to the graph |
<T extends Number> |
broadcastDynamicShape(Operand<T> s0,
Operand<T> s1)
Adds an
BroadcastDynamicShape operation to the graph |
<T,U extends Number> |
broadcastTo(Operand<T> input,
Operand<U> shape)
Adds an
BroadcastTo operation to the graph |
<T extends Number> |
bucketize(Operand<T> input,
List<Float> boundaries)
Adds an
Bucketize operation to the graph |
BytesProducedStatsDataset |
bytesProducedStatsDataset(Operand<?> inputDataset,
Operand<String> tag,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
BytesProducedStatsDataset operation to the graph |
CacheDataset |
cacheDataset(Operand<?> inputDataset,
Operand<String> filename,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
CacheDataset operation to the graph |
<U,T> Cast<U> |
cast(Operand<T> x,
Class<U> DstT)
Adds an
Cast operation to the graph |
<T extends Number> |
ceil(Operand<T> x)
Adds an
Ceil operation to the graph |
<T extends Number> |
checkNumerics(Operand<T> tensor,
String message)
Adds an
CheckNumerics operation to the graph |
<T> Cholesky<T> |
cholesky(Operand<T> input)
Adds an
Cholesky operation to the graph |
<T extends Number> |
choleskyGrad(Operand<T> l,
Operand<T> grad)
Adds an
CholeskyGrad operation to the graph |
<T> ClipByValue<T> |
clipByValue(Operand<T> t,
Operand<T> clipValueMin,
Operand<T> clipValueMax)
Adds an
ClipByValue operation to the graph |
<T> CompareAndBitpack |
compareAndBitpack(Operand<T> input,
Operand<T> threshold)
Adds an
CompareAndBitpack operation to the graph |
<U,T extends Number> |
complex(Operand<T> real,
Operand<T> imag,
Class<U> Tout)
Adds an
Complex operation to the graph |
<U extends Number,T> |
complexAbs(Operand<T> x,
Class<U> Tout)
Adds an
ComplexAbs operation to the graph |
ComputeAccidentalHits |
computeAccidentalHits(Operand<Long> trueClasses,
Operand<Long> sampledCandidates,
Long numTrue,
ComputeAccidentalHits.Options... options)
Adds an
ComputeAccidentalHits operation to the graph |
<T,U extends Number> |
concat(Operand<T> values,
Operand<U> axis)
Adds an
Concat operation to the graph |
ConcatenateDataset |
concatenateDataset(Operand<?> inputDataset,
Operand<?> anotherDataset,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
ConcatenateDataset operation to the graph |
<T> ConditionalAccumulator |
conditionalAccumulator(Class<T> dtype,
Shape shape,
ConditionalAccumulator.Options... options)
Adds an
ConditionalAccumulator operation to the graph |
<T> Conj<T> |
conj(Operand<T> input)
Adds an
Conj operation to the graph |
<T,U extends Number> |
conjugateTranspose(Operand<T> x,
Operand<U> perm)
Adds an
ConjugateTranspose operation to the graph |
<T> Constant<T> |
constant(Class<T> type,
long[] shape,
ByteBuffer data)
Adds an
Constant operation to the graph |
Constant<Double> |
constant(long[] shape,
DoubleBuffer data)
Adds an
Constant operation to the graph |
Constant<Float> |
constant(long[] shape,
FloatBuffer data)
Adds an
Constant operation to the graph |
Constant<Integer> |
constant(long[] shape,
IntBuffer data)
Adds an
Constant operation to the graph |
Constant<Long> |
constant(long[] shape,
LongBuffer data)
Adds an
Constant operation to the graph |
<T> Constant<T> |
constant(Object object,
Class<T> type)
Adds an
Constant operation to the graph |
ConsumeMutexLock |
consumeMutexLock(Operand<?> mutexLock)
Adds an
ConsumeMutexLock operation to the graph |
ControlTrigger |
controlTrigger()
Adds an
ControlTrigger operation to the graph |
<T extends Number> |
conv2D(Operand<T> input,
Operand<T> filter,
List<Long> strides,
String padding,
Conv2D.Options... options)
Adds an
Conv2D operation to the graph |
<T extends Number> |
conv2DBackpropFilter(Operand<T> input,
Operand<Integer> filterSizes,
Operand<T> outBackprop,
List<Long> strides,
String padding,
Conv2DBackpropFilter.Options... options)
Adds an
Conv2DBackpropFilter operation to the graph |
<T extends Number> |
conv2DBackpropInput(Operand<Integer> inputSizes,
Operand<T> filter,
Operand<T> outBackprop,
List<Long> strides,
String padding,
Conv2DBackpropInput.Options... options)
Adds an
Conv2DBackpropInput operation to the graph |
<T extends Number> |
conv3D(Operand<T> input,
Operand<T> filter,
List<Long> strides,
String padding,
Conv3D.Options... options)
Adds an
Conv3D operation to the graph |
<T extends Number> |
conv3DBackpropFilter(Operand<T> input,
Operand<T> filter,
Operand<T> outBackprop,
List<Long> strides,
String padding,
Conv3DBackpropFilter.Options... options)
Adds an
Conv3DBackpropFilter operation to the graph |
<T extends Number> |
conv3DBackpropFilterV2(Operand<T> input,
Operand<Integer> filterSizes,
Operand<T> outBackprop,
List<Long> strides,
String padding,
Conv3DBackpropFilterV2.Options... options)
Adds an
Conv3DBackpropFilterV2 operation to the graph |
<T extends Number> |
conv3DBackpropInput(Operand<T> input,
Operand<T> filter,
Operand<T> outBackprop,
List<Long> strides,
String padding,
Conv3DBackpropInput.Options... options)
Adds an
Conv3DBackpropInput operation to the graph |
<U extends Number,T extends Number> |
conv3DBackpropInputV2(Operand<T> inputSizes,
Operand<U> filter,
Operand<U> outBackprop,
List<Long> strides,
String padding,
Conv3DBackpropInputV2.Options... options)
Adds an
Conv3DBackpropInputV2 operation to the graph |
<T> Cos<T> |
cos(Operand<T> x)
Adds an
Cos operation to the graph |
<T> Cosh<T> |
cosh(Operand<T> x)
Adds an
Cosh operation to the graph |
<T extends Number> |
countUpTo(Operand<T> ref,
Long limit)
Adds an
CountUpTo operation to the graph |
static Ops |
create(Graph graph)
Creates an API for adding operations to the provided
graph |
<T extends Number> |
cropAndResize(Operand<T> image,
Operand<Float> boxes,
Operand<Integer> boxInd,
Operand<Integer> cropSize,
CropAndResize.Options... options)
Adds an
CropAndResize operation to the graph |
<T extends Number> |
cropAndResizeGradBoxes(Operand<Float> grads,
Operand<T> image,
Operand<Float> boxes,
Operand<Integer> boxInd,
CropAndResizeGradBoxes.Options... options)
Adds an
CropAndResizeGradBoxes operation to the graph |
<T extends Number> |
cropAndResizeGradImage(Operand<Float> grads,
Operand<Float> boxes,
Operand<Integer> boxInd,
Operand<Integer> imageSize,
Class<T> T,
CropAndResizeGradImage.Options... options)
Adds an
CropAndResizeGradImage operation to the graph |
<T extends Number> |
cross(Operand<T> a,
Operand<T> b)
Adds an
Cross operation to the graph |
CTCBeamSearchDecoder |
cTCBeamSearchDecoder(Operand<Float> inputs,
Operand<Integer> sequenceLength,
Long beamWidth,
Long topPaths,
CTCBeamSearchDecoder.Options... options)
Adds an
CTCBeamSearchDecoder operation to the graph |
CTCGreedyDecoder |
cTCGreedyDecoder(Operand<Float> inputs,
Operand<Integer> sequenceLength,
CTCGreedyDecoder.Options... options)
Adds an
CTCGreedyDecoder operation to the graph |
CTCLoss |
cTCLoss(Operand<Float> inputs,
Operand<Long> labelsIndices,
Operand<Integer> labelsValues,
Operand<Integer> sequenceLength,
CTCLoss.Options... options)
Adds an
CTCLoss operation to the graph |
<T extends Number> |
cudnnRNN(Operand<T> input,
Operand<T> inputH,
Operand<T> inputC,
Operand<T> params,
CudnnRNN.Options... options)
Adds an
CudnnRNN operation to the graph |
<T extends Number> |
cudnnRNNBackprop(Operand<T> input,
Operand<T> inputH,
Operand<T> inputC,
Operand<T> params,
Operand<T> output,
Operand<T> outputH,
Operand<T> outputC,
Operand<T> outputBackprop,
Operand<T> outputHBackprop,
Operand<T> outputCBackprop,
Operand<T> reserveSpace,
CudnnRNNBackprop.Options... options)
Adds an
CudnnRNNBackprop operation to the graph |
<T extends Number> |
cudnnRNNCanonicalToParams(Operand<Integer> numLayers,
Operand<Integer> numUnits,
Operand<Integer> inputSize,
Operand<T> weights,
Iterable<Operand<T>> biases,
CudnnRNNCanonicalToParams.Options... options)
Adds an
CudnnRNNCanonicalToParams operation to the graph |
<U extends Number,T extends Number> |
cudnnRNNParamsSize(Operand<Integer> numLayers,
Operand<Integer> numUnits,
Operand<Integer> inputSize,
Class<T> T,
Class<U> S,
CudnnRNNParamsSize.Options... options)
Adds an
CudnnRNNParamsSize operation to the graph |
<T extends Number> |
cudnnRNNParamsToCanonical(Operand<Integer> numLayers,
Operand<Integer> numUnits,
Operand<Integer> inputSize,
Operand<T> params,
Long numParams,
CudnnRNNParamsToCanonical.Options... options)
Adds an
CudnnRNNParamsToCanonical operation to the graph |
<T,U extends Number> |
cumprod(Operand<T> x,
Operand<U> axis,
Cumprod.Options... options)
Adds an
Cumprod operation to the graph |
<T,U extends Number> |
cumsum(Operand<T> x,
Operand<U> axis,
Cumsum.Options... options)
Adds an
Cumsum operation to the graph |
<T extends Number> |
dataFormatDimMap(Operand<T> x,
DataFormatDimMap.Options... options)
Adds an
DataFormatDimMap operation to the graph |
<T extends Number> |
dataFormatVecPermute(Operand<T> x,
DataFormatVecPermute.Options... options)
Adds an
DataFormatVecPermute operation to the graph |
DatasetToSingleElement |
datasetToSingleElement(Operand<?> dataset,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
DatasetToSingleElement operation to the graph |
<T> DebugGradientIdentity<T> |
debugGradientIdentity(Operand<T> input)
Adds an
DebugGradientIdentity operation to the graph |
<T> DebugGradientRefIdentity<T> |
debugGradientRefIdentity(Operand<T> input)
Adds an
DebugGradientRefIdentity operation to the graph |
DecodeAndCropJpeg |
decodeAndCropJpeg(Operand<String> contents,
Operand<Integer> cropWindow,
DecodeAndCropJpeg.Options... options)
Adds an
DecodeAndCropJpeg operation to the graph |
DecodeBase64 |
decodeBase64(Operand<String> input)
Adds an
DecodeBase64 operation to the graph |
DecodeBmp |
decodeBmp(Operand<String> contents,
DecodeBmp.Options... options)
Adds an
DecodeBmp operation to the graph |
DecodeCompressed |
decodeCompressed(Operand<String> bytes,
DecodeCompressed.Options... options)
Adds an
DecodeCompressed operation to the graph |
DecodeCSV |
decodeCSV(Operand<String> records,
Iterable<Operand<?>> recordDefaults,
DecodeCSV.Options... options)
Adds an
DecodeCSV operation to the graph |
DecodeGif |
decodeGif(Operand<String> contents)
Adds an
DecodeGif operation to the graph |
DecodeJpeg |
decodeJpeg(Operand<String> contents,
DecodeJpeg.Options... options)
Adds an
DecodeJpeg operation to the graph |
DecodeJSONExample |
decodeJSONExample(Operand<String> jsonExamples)
Adds an
DecodeJSONExample operation to the graph |
<T extends Number> |
decodePng(Operand<String> contents,
Class<T> dtype,
DecodePng.Options... options)
Adds an
DecodePng operation to the graph |
DecodeProtoV2 |
decodeProtoV2(Operand<String> bytes,
String messageType,
List<String> fieldNames,
List<Class<?>> outputTypes,
DecodeProtoV2.Options... options)
Adds an
DecodeProtoV2 operation to the graph |
<T extends Number> |
decodeRaw(Operand<String> bytes,
Class<T> outType,
DecodeRaw.Options... options)
Adds an
DecodeRaw operation to the graph |
DecodeWav |
decodeWav(Operand<String> contents,
DecodeWav.Options... options)
Adds an
DecodeWav operation to the graph |
<T> DeepCopy<T> |
deepCopy(Operand<T> x)
Adds an
DeepCopy operation to the graph |
DeleteSessionTensor |
deleteSessionTensor(Operand<String> handle)
Adds an
DeleteSessionTensor operation to the graph |
<T> DenseToDenseSetOperation<T> |
denseToDenseSetOperation(Operand<T> set1,
Operand<T> set2,
String setOperation,
DenseToDenseSetOperation.Options... options)
Adds an
DenseToDenseSetOperation operation to the graph |
DenseToSparseBatchDataset |
denseToSparseBatchDataset(Operand<?> inputDataset,
Operand<Long> batchSize,
Operand<Long> rowShape,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
DenseToSparseBatchDataset operation to the graph |
<T> DenseToSparseSetOperation<T> |
denseToSparseSetOperation(Operand<T> set1,
Operand<Long> set2Indices,
Operand<T> set2Values,
Operand<Long> set2Shape,
String setOperation,
DenseToSparseSetOperation.Options... options)
Adds an
DenseToSparseSetOperation operation to the graph |
<T> DepthToSpace<T> |
depthToSpace(Operand<T> input,
Long blockSize,
DepthToSpace.Options... options)
Adds an
DepthToSpace operation to the graph |
<T extends Number> |
depthwiseConv2dNative(Operand<T> input,
Operand<T> filter,
List<Long> strides,
String padding,
DepthwiseConv2dNative.Options... options)
Adds an
DepthwiseConv2dNative operation to the graph |
<T extends Number> |
depthwiseConv2dNativeBackpropFilter(Operand<T> input,
Operand<Integer> filterSizes,
Operand<T> outBackprop,
List<Long> strides,
String padding,
DepthwiseConv2dNativeBackpropFilter.Options... options)
Adds an
DepthwiseConv2dNativeBackpropFilter operation to the graph |
<T extends Number> |
depthwiseConv2dNativeBackpropInput(Operand<Integer> inputSizes,
Operand<T> filter,
Operand<T> outBackprop,
List<Long> strides,
String padding,
DepthwiseConv2dNativeBackpropInput.Options... options)
Adds an
DepthwiseConv2dNativeBackpropInput operation to the graph |
<T> Dequantize |
dequantize(Operand<T> input,
Operand<Float> minRange,
Operand<Float> maxRange,
Dequantize.Options... options)
Adds an
Dequantize operation to the graph |
DeserializeIterator |
deserializeIterator(Operand<?> resourceHandle,
Operand<?> serialized)
Adds an
DeserializeIterator operation to the graph |
<T> DeserializeManySparse<T> |
deserializeManySparse(Operand<String> serializedSparse,
Class<T> dtype)
Adds an
DeserializeManySparse operation to the graph |
<U,T> DeserializeSparse<U> |
deserializeSparse(Operand<T> serializedSparse,
Class<U> dtype)
Adds an
DeserializeSparse operation to the graph |
DestroyResourceOp |
destroyResourceOp(Operand<?> resource,
DestroyResourceOp.Options... options)
Adds an
DestroyResourceOp operation to the graph |
<T> DestroyTemporaryVariable<T> |
destroyTemporaryVariable(Operand<T> ref,
String varName)
Adds an
DestroyTemporaryVariable operation to the graph |
<T> Diag<T> |
diag(Operand<T> diagonal)
Adds an
Diag operation to the graph |
<T> DiagPart<T> |
diagPart(Operand<T> input)
Adds an
DiagPart operation to the graph |
<T extends Number> |
digamma(Operand<T> x)
Adds an
Digamma operation to the graph |
<T extends Number> |
dilation2D(Operand<T> input,
Operand<T> filter,
List<Long> strides,
List<Long> rates,
String padding)
Adds an
Dilation2D operation to the graph |
<T extends Number> |
dilation2DBackpropFilter(Operand<T> input,
Operand<T> filter,
Operand<T> outBackprop,
List<Long> strides,
List<Long> rates,
String padding)
Adds an
Dilation2DBackpropFilter operation to the graph |
<T extends Number> |
dilation2DBackpropInput(Operand<T> input,
Operand<T> filter,
Operand<T> outBackprop,
List<Long> strides,
List<Long> rates,
String padding)
Adds an
Dilation2DBackpropInput operation to the graph |
<T> Div<T> |
div(Operand<T> x,
Operand<T> y)
Adds an
Div operation to the graph |
<T extends Number> |
drawBoundingBoxes(Operand<T> images,
Operand<Float> boxes)
Adds an
DrawBoundingBoxes operation to the graph |
<T> DynamicPartition<T> |
dynamicPartition(Operand<T> data,
Operand<Integer> partitions,
Long numPartitions)
Adds an
DynamicPartition operation to the graph |
<T> DynamicStitch<T> |
dynamicStitch(Iterable<Operand<Integer>> indices,
Operand<T> data)
Adds an
DynamicStitch operation to the graph |
EagerPyFunc |
eagerPyFunc(Iterable<Operand<?>> input,
String token,
List<Class<?>> Tout)
Adds an
EagerPyFunc operation to the graph |
<T> EditDistance |
editDistance(Operand<Long> hypothesisIndices,
Operand<T> hypothesisValues,
Operand<Long> hypothesisShape,
Operand<Long> truthIndices,
Operand<T> truthValues,
Operand<Long> truthShape,
EditDistance.Options... options)
Adds an
EditDistance operation to the graph |
<T extends Number> |
elu(Operand<T> features)
Adds an
Elu operation to the graph |
<T> Empty<T> |
empty(Operand<Integer> shape,
Class<T> dtype,
Empty.Options... options)
Adds an
Empty operation to the graph |
<T extends Number,U> |
emptyTensorList(Operand<T> elementShape,
Class<U> elementDtype)
Adds an
EmptyTensorList operation to the graph |
EncodeBase64 |
encodeBase64(Operand<String> input,
EncodeBase64.Options... options)
Adds an
EncodeBase64 operation to the graph |
EncodeJpeg |
encodeJpeg(Operand<UInt8> image,
EncodeJpeg.Options... options)
Adds an
EncodeJpeg operation to the graph |
<T extends Number> |
encodePng(Operand<T> image,
EncodePng.Options... options)
Adds an
EncodePng operation to the graph |
EncodeProto |
encodeProto(Operand<Integer> sizes,
Iterable<Operand<?>> values,
List<String> fieldNames,
String messageType,
EncodeProto.Options... options)
Adds an
EncodeProto operation to the graph |
EncodeWav |
encodeWav(Operand<Float> audio,
Operand<Integer> sampleRate)
Adds an
EncodeWav operation to the graph |
EnqueueInQueueDataset |
enqueueInQueueDataset(Operand<?> queue,
Iterable<Operand<?>> components)
Adds an
EnqueueInQueueDataset operation to the graph |
<T> Equal |
equal(Operand<T> x,
Operand<T> y)
Adds an
Equal operation to the graph |
<T extends Number> |
erf(Operand<T> x)
Adds an
Erf operation to the graph |
<T extends Number> |
erfc(Operand<T> x)
Adds an
Erfc operation to the graph |
<T> Exp<T> |
exp(Operand<T> x)
Adds an
Exp operation to the graph |
<T,U extends Number> |
expandDims(Operand<T> input,
Operand<U> axis)
Adds an
ExpandDims operation to the graph |
<T> Expm1<T> |
expm1(Operand<T> x)
Adds an
Expm1 operation to the graph |
ExtractGlimpse |
extractGlimpse(Operand<Float> input,
Operand<Integer> size,
Operand<Float> offsets,
ExtractGlimpse.Options... options)
Adds an
ExtractGlimpse operation to the graph |
<T extends Number> |
extractImagePatches(Operand<T> images,
List<Long> ksizes,
List<Long> strides,
List<Long> rates,
String padding)
Adds an
ExtractImagePatches operation to the graph |
<T extends Number> |
extractJpegShape(Operand<String> contents,
Class<T> outputType)
Adds an
ExtractJpegShape operation to the graph |
Fact |
fact()
Adds an
Fact operation to the graph |
FakeQuantWithMinMaxArgs |
fakeQuantWithMinMaxArgs(Operand<Float> inputs,
FakeQuantWithMinMaxArgs.Options... options)
Adds an
FakeQuantWithMinMaxArgs operation to the graph |
FakeQuantWithMinMaxArgsGradient |
fakeQuantWithMinMaxArgsGradient(Operand<Float> gradients,
Operand<Float> inputs,
FakeQuantWithMinMaxArgsGradient.Options... options)
Adds an
FakeQuantWithMinMaxArgsGradient operation to the graph |
FakeQuantWithMinMaxVars |
fakeQuantWithMinMaxVars(Operand<Float> inputs,
Operand<Float> min,
Operand<Float> max,
FakeQuantWithMinMaxVars.Options... options)
Adds an
FakeQuantWithMinMaxVars operation to the graph |
FakeQuantWithMinMaxVarsGradient |
fakeQuantWithMinMaxVarsGradient(Operand<Float> gradients,
Operand<Float> inputs,
Operand<Float> min,
Operand<Float> max,
FakeQuantWithMinMaxVarsGradient.Options... options)
Adds an
FakeQuantWithMinMaxVarsGradient operation to the graph |
FakeQuantWithMinMaxVarsPerChannel |
fakeQuantWithMinMaxVarsPerChannel(Operand<Float> inputs,
Operand<Float> min,
Operand<Float> max,
FakeQuantWithMinMaxVarsPerChannel.Options... options)
Adds an
FakeQuantWithMinMaxVarsPerChannel operation to the graph |
FakeQuantWithMinMaxVarsPerChannelGradient |
fakeQuantWithMinMaxVarsPerChannelGradient(Operand<Float> gradients,
Operand<Float> inputs,
Operand<Float> min,
Operand<Float> max,
FakeQuantWithMinMaxVarsPerChannelGradient.Options... options)
Adds an
FakeQuantWithMinMaxVarsPerChannelGradient operation to the graph |
FeatureStatsDataset |
featureStatsDataset(Operand<?> inputDataset,
Operand<String> tag,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
FeatureStatsDataset operation to the graph |
<T> FFT<T> |
fFT(Operand<T> input)
Adds an
FFT operation to the graph |
<T> FFT2D<T> |
fFT2D(Operand<T> input)
Adds an
FFT2D operation to the graph |
<T> FFT3D<T> |
fFT3D(Operand<T> input)
Adds an
FFT3D operation to the graph |
FIFOQueue |
fIFOQueue(List<Class<?>> componentTypes,
FIFOQueue.Options... options)
Adds an
FIFOQueue operation to the graph |
<U,T extends Number> |
fill(Operand<T> dims,
Operand<U> value)
Adds an
Fill operation to the graph |
FixedLengthRecordDataset |
fixedLengthRecordDataset(Operand<String> filenames,
Operand<Long> headerBytes,
Operand<Long> recordBytes,
Operand<Long> footerBytes,
Operand<Long> bufferSize)
Adds an
FixedLengthRecordDataset operation to the graph |
FixedLengthRecordReader |
fixedLengthRecordReader(Long recordBytes,
FixedLengthRecordReader.Options... options)
Adds an
FixedLengthRecordReader operation to the graph |
FixedUnigramCandidateSampler |
fixedUnigramCandidateSampler(Operand<Long> trueClasses,
Long numTrue,
Long numSampled,
Boolean unique,
Long rangeMax,
FixedUnigramCandidateSampler.Options... options)
Adds an
FixedUnigramCandidateSampler operation to the graph |
<T extends Number> |
floor(Operand<T> x)
Adds an
Floor operation to the graph |
<T> FloorDiv<T> |
floorDiv(Operand<T> x,
Operand<T> y)
Adds an
FloorDiv operation to the graph |
<T extends Number> |
floorMod(Operand<T> x,
Operand<T> y)
Adds an
FloorMod operation to the graph |
<T extends Number> |
fractionalAvgPool(Operand<T> value,
List<Float> poolingRatio,
FractionalAvgPool.Options... options)
Adds an
FractionalAvgPool operation to the graph |
<T extends Number> |
fractionalMaxPool(Operand<T> value,
List<Float> poolingRatio,
FractionalMaxPool.Options... options)
Adds an
FractionalMaxPool operation to the graph |
<T extends Number> |
fusedBatchNorm(Operand<T> x,
Operand<T> scale,
Operand<T> offset,
Operand<T> mean,
Operand<T> variance,
FusedBatchNorm.Options... options)
Adds an
FusedBatchNorm operation to the graph |
<T extends Number> |
fusedBatchNormGrad(Operand<T> yBackprop,
Operand<T> x,
Operand<T> scale,
Operand<T> reserveSpace1,
Operand<T> reserveSpace2,
FusedBatchNormGrad.Options... options)
Adds an
FusedBatchNormGrad operation to the graph |
<T extends Number,U extends Number> |
fusedBatchNormGradV2(Operand<T> yBackprop,
Operand<T> x,
Operand<Float> scale,
Operand<U> reserveSpace1,
Operand<U> reserveSpace2,
FusedBatchNormGradV2.Options... options)
Adds an
FusedBatchNormGradV2 operation to the graph |
<T extends Number,U extends Number> |
fusedBatchNormV2(Operand<T> x,
Operand<U> scale,
Operand<U> offset,
Operand<U> mean,
Operand<U> variance,
FusedBatchNormV2.Options... options)
Adds an
FusedBatchNormV2 operation to the graph |
<T extends Number> |
fusedPadConv2D(Operand<T> input,
Operand<Integer> paddings,
Operand<T> filter,
String mode,
List<Long> strides,
String padding)
Adds an
FusedPadConv2D operation to the graph |
<T extends Number> |
fusedResizeAndPadConv2D(Operand<T> input,
Operand<Integer> size,
Operand<Integer> paddings,
Operand<T> filter,
String mode,
List<Long> strides,
String padding,
FusedResizeAndPadConv2D.Options... options)
Adds an
FusedResizeAndPadConv2D operation to the graph |
<T,U extends Number> |
gather(Operand<T> params,
Operand<U> indices,
Gather.Options... options)
Adds an
Gather operation to the graph |
<T,U extends Number> |
gatherNd(Operand<T> params,
Operand<U> indices)
Adds an
GatherNd operation to the graph |
<T,U extends Number,V extends Number> |
gatherV2(Operand<T> params,
Operand<U> indices,
Operand<V> axis)
Adds an
GatherV2 operation to the graph |
GcsConfigureBlockCache |
gcsConfigureBlockCache(Operand<?> maxCacheSize,
Operand<?> blockSize,
Operand<?> maxStaleness)
Adds an
GcsConfigureBlockCache operation to the graph |
GcsConfigureCredentials |
gcsConfigureCredentials(Operand<String> json)
Adds an
GcsConfigureCredentials operation to the graph |
GenerateBigQueryReaderPartitions |
generateBigQueryReaderPartitions(String projectId,
String datasetId,
String tableId,
List<String> columns,
Long timestampMillis,
Long numPartitions,
GenerateBigQueryReaderPartitions.Options... options)
Adds an
GenerateBigQueryReaderPartitions operation to the graph |
GenerateVocabRemapping |
generateVocabRemapping(Operand<String> newVocabFile,
Operand<String> oldVocabFile,
Long newVocabOffset,
Long numNewVocab,
GenerateVocabRemapping.Options... options)
Adds an
GenerateVocabRemapping operation to the graph |
<T> GetSessionHandle |
getSessionHandle(Operand<T> value)
Adds an
GetSessionHandle operation to the graph |
<T> GetSessionHandleV2 |
getSessionHandleV2(Operand<T> value)
Adds an
GetSessionHandleV2 operation to the graph |
<T> GetSessionTensor<T> |
getSessionTensor(Operand<String> handle,
Class<T> dtype)
Adds an
GetSessionTensor operation to the graph |
Gradients |
gradients(Iterable<Operand<?>> y,
Iterable<Operand<?>> x,
Gradients.Options... options)
Adds an
Gradients operation to the graph |
Gradients |
gradients(Operand<?> y,
Iterable<Operand<?>> x,
Gradients.Options... options)
Adds an
Gradients operation to the graph |
<T extends Number> |
greater(Operand<T> x,
Operand<T> y)
Adds an
Greater operation to the graph |
<T extends Number> |
greaterEqual(Operand<T> x,
Operand<T> y)
Adds an
GreaterEqual operation to the graph |
<T> GuaranteeConst<T> |
guaranteeConst(Operand<T> input)
Adds an
GuaranteeConst operation to the graph |
<T,U> HashTable |
hashTable(Class<T> keyDtype,
Class<U> valueDtype,
HashTable.Options... options)
Adds an
HashTable operation to the graph |
<U extends Number,T extends Number> |
histogramFixedWidth(Operand<T> values,
Operand<T> valueRange,
Operand<Integer> nbins,
Class<U> dtype)
Adds an
HistogramFixedWidth operation to the graph |
<T extends Number> |
histogramSummary(Operand<String> tag,
Operand<T> values)
Adds an
HistogramSummary operation to the graph |
<T extends Number> |
hSVToRGB(Operand<T> images)
Adds an
HSVToRGB operation to the graph |
<T> Identity<T> |
identity(Operand<T> input)
Adds an
Identity operation to the graph |
IdentityN |
identityN(Iterable<Operand<?>> input)
Adds an
IdentityN operation to the graph |
IdentityReader |
identityReader(IdentityReader.Options... options)
Adds an
IdentityReader operation to the graph |
<T> IFFT<T> |
iFFT(Operand<T> input)
Adds an
IFFT operation to the graph |
<T> IFFT2D<T> |
iFFT2D(Operand<T> input)
Adds an
IFFT2D operation to the graph |
<T> IFFT3D<T> |
iFFT3D(Operand<T> input)
Adds an
IFFT3D operation to the graph |
<T extends Number> |
igamma(Operand<T> a,
Operand<T> x)
Adds an
Igamma operation to the graph |
<T extends Number> |
igammac(Operand<T> a,
Operand<T> x)
Adds an
Igammac operation to the graph |
<U extends Number,T> |
imag(Operand<T> input,
Class<U> Tout)
Adds an
Imag operation to the graph |
<T extends Number> |
imageSummary(Operand<String> tag,
Operand<T> tensor,
ImageSummary.Options... options)
Adds an
ImageSummary operation to the graph |
<T> ImmutableConst<T> |
immutableConst(Class<T> dtype,
Shape shape,
String memoryRegionName)
Adds an
ImmutableConst operation to the graph |
<T,U> InitializeTable |
initializeTable(Operand<?> tableHandle,
Operand<T> keys,
Operand<U> values)
Adds an
InitializeTable operation to the graph |
InitializeTableFromTextFile |
initializeTableFromTextFile(Operand<?> tableHandle,
Operand<String> filename,
Long keyIndex,
Long valueIndex,
InitializeTableFromTextFile.Options... options)
Adds an
InitializeTableFromTextFile operation to the graph |
<T> InplaceAdd<T> |
inplaceAdd(Operand<T> x,
Operand<Integer> i,
Operand<T> v)
Adds an
InplaceAdd operation to the graph |
<T> InplaceSub<T> |
inplaceSub(Operand<T> x,
Operand<Integer> i,
Operand<T> v)
Adds an
InplaceSub operation to the graph |
<T> InplaceUpdate<T> |
inplaceUpdate(Operand<T> x,
Operand<Integer> i,
Operand<T> v)
Adds an
InplaceUpdate operation to the graph |
<T extends Number> |
inTopK(Operand<Float> predictions,
Operand<T> targets,
Long k)
Adds an
InTopK operation to the graph |
<T extends Number> |
inTopKV2(Operand<Float> predictions,
Operand<T> targets,
Operand<T> k)
Adds an
InTopKV2 operation to the graph |
<T> Inv<T> |
inv(Operand<T> x)
Adds an
Inv operation to the graph |
<T extends Number> |
invert(Operand<T> x)
Adds an
Invert operation to the graph |
<T extends Number> |
invertPermutation(Operand<T> x)
Adds an
InvertPermutation operation to the graph |
IRFFT |
iRFFT(Operand<?> input,
Operand<Integer> fftLength)
Adds an
IRFFT operation to the graph |
IRFFT2D |
iRFFT2D(Operand<?> input,
Operand<Integer> fftLength)
Adds an
IRFFT2D operation to the graph |
IRFFT3D |
iRFFT3D(Operand<?> input,
Operand<Integer> fftLength)
Adds an
IRFFT3D operation to the graph |
<T extends Number> |
isFinite(Operand<T> x)
Adds an
IsFinite operation to the graph |
<T extends Number> |
isInf(Operand<T> x)
Adds an
IsInf operation to the graph |
<T extends Number> |
isNan(Operand<T> x)
Adds an
IsNan operation to the graph |
<T> IsVariableInitialized |
isVariableInitialized(Operand<T> ref)
Adds an
IsVariableInitialized operation to the graph |
Iterator |
iterator(String sharedName,
String container,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
Iterator operation to the graph |
IteratorFromStringHandle |
iteratorFromStringHandle(Operand<String> stringHandle,
List<Class<?>> outputTypes,
IteratorFromStringHandle.Options... options)
Adds an
IteratorFromStringHandle operation to the graph |
IteratorGetNext |
iteratorGetNext(Operand<?> iterator,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
IteratorGetNext operation to the graph |
IteratorGetNextSync |
iteratorGetNextSync(Operand<?> iterator,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
IteratorGetNextSync operation to the graph |
IteratorToStringHandle |
iteratorToStringHandle(Operand<?> resourceHandle)
Adds an
IteratorToStringHandle operation to the graph |
<T extends Number> |
l2Loss(Operand<T> t)
Adds an
L2Loss operation to the graph |
LatencyStatsDataset |
latencyStatsDataset(Operand<?> inputDataset,
Operand<String> tag,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
LatencyStatsDataset operation to the graph |
LearnedUnigramCandidateSampler |
learnedUnigramCandidateSampler(Operand<Long> trueClasses,
Long numTrue,
Long numSampled,
Boolean unique,
Long rangeMax,
LearnedUnigramCandidateSampler.Options... options)
Adds an
LearnedUnigramCandidateSampler operation to the graph |
<T extends Number> |
leftShift(Operand<T> x,
Operand<T> y)
Adds an
LeftShift operation to the graph |
<T extends Number> |
less(Operand<T> x,
Operand<T> y)
Adds an
Less operation to the graph |
<T extends Number> |
lessEqual(Operand<T> x,
Operand<T> y)
Adds an
LessEqual operation to the graph |
<T extends Number> |
lgamma(Operand<T> x)
Adds an
Lgamma operation to the graph |
<T extends Number,U extends Number> |
linSpace(Operand<T> start,
Operand<T> stop,
Operand<U> num)
Adds an
LinSpace operation to the graph |
LMDBReader |
lMDBReader(LMDBReader.Options... options)
Adds an
LMDBReader operation to the graph |
LoadAndRemapMatrix |
loadAndRemapMatrix(Operand<String> ckptPath,
Operand<String> oldTensorName,
Operand<Long> rowRemapping,
Operand<Long> colRemapping,
Operand<Float> initializingValues,
Long numRows,
Long numCols,
LoadAndRemapMatrix.Options... options)
Adds an
LoadAndRemapMatrix operation to the graph |
<T> Log<T> |
log(Operand<T> x)
Adds an
Log operation to the graph |
<T> Log1p<T> |
log1p(Operand<T> x)
Adds an
Log1p operation to the graph |
LogicalAnd |
logicalAnd(Operand<Boolean> x,
Operand<Boolean> y)
Adds an
LogicalAnd operation to the graph |
LogicalNot |
logicalNot(Operand<Boolean> x)
Adds an
LogicalNot operation to the graph |
LogicalOr |
logicalOr(Operand<Boolean> x,
Operand<Boolean> y)
Adds an
LogicalOr operation to the graph |
<T> LogMatrixDeterminant<T> |
logMatrixDeterminant(Operand<T> input)
Adds an
LogMatrixDeterminant operation to the graph |
<T extends Number> |
logSoftmax(Operand<T> logits)
Adds an
LogSoftmax operation to the graph |
LogUniformCandidateSampler |
logUniformCandidateSampler(Operand<Long> trueClasses,
Long numTrue,
Long numSampled,
Boolean unique,
Long rangeMax,
LogUniformCandidateSampler.Options... options)
Adds an
LogUniformCandidateSampler operation to the graph |
<T,U> LookupTableExport<T,U> |
lookupTableExport(Operand<?> tableHandle,
Class<T> Tkeys,
Class<U> Tvalues)
Adds an
LookupTableExport operation to the graph |
<U,T> LookupTableFind<U> |
lookupTableFind(Operand<?> tableHandle,
Operand<T> keys,
Operand<U> defaultValue)
Adds an
LookupTableFind operation to the graph |
<T,U> LookupTableImport |
lookupTableImport(Operand<?> tableHandle,
Operand<T> keys,
Operand<U> values)
Adds an
LookupTableImport operation to the graph |
<T,U> LookupTableInsert |
lookupTableInsert(Operand<?> tableHandle,
Operand<T> keys,
Operand<U> values)
Adds an
LookupTableInsert operation to the graph |
LookupTableSize |
lookupTableSize(Operand<?> tableHandle)
Adds an
LookupTableSize operation to the graph |
LoopCond |
loopCond(Operand<Boolean> input)
Adds an
LoopCond operation to the graph |
<T extends Number> |
lRN(Operand<T> input,
LRN.Options... options)
Adds an
LRN operation to the graph |
MakeIterator |
makeIterator(Operand<?> dataset,
Operand<?> iterator)
Adds an
MakeIterator operation to the graph |
MapClear |
mapClear(List<Class<?>> dtypes,
MapClear.Options... options)
Adds an
MapClear operation to the graph |
MapIncompleteSize |
mapIncompleteSize(List<Class<?>> dtypes,
MapIncompleteSize.Options... options)
Adds an
MapIncompleteSize operation to the graph |
MapPeek |
mapPeek(Operand<Long> key,
Operand<Integer> indices,
List<Class<?>> dtypes,
MapPeek.Options... options)
Adds an
MapPeek operation to the graph |
MapSize |
mapSize(List<Class<?>> dtypes,
MapSize.Options... options)
Adds an
MapSize operation to the graph |
MapStage |
mapStage(Operand<Long> key,
Operand<Integer> indices,
Iterable<Operand<?>> values,
List<Class<?>> dtypes,
MapStage.Options... options)
Adds an
MapStage operation to the graph |
MapUnstage |
mapUnstage(Operand<Long> key,
Operand<Integer> indices,
List<Class<?>> dtypes,
MapUnstage.Options... options)
Adds an
MapUnstage operation to the graph |
MapUnstageNoKey |
mapUnstageNoKey(Operand<Integer> indices,
List<Class<?>> dtypes,
MapUnstageNoKey.Options... options)
Adds an
MapUnstageNoKey operation to the graph |
MatchingFiles |
matchingFiles(Operand<String> pattern)
Adds an
MatchingFiles operation to the graph |
<T> MatMul<T> |
matMul(Operand<T> a,
Operand<T> b,
MatMul.Options... options)
Adds an
MatMul operation to the graph |
<T,U extends Number> |
matrixBandPart(Operand<T> input,
Operand<U> numLower,
Operand<U> numUpper)
Adds an
MatrixBandPart operation to the graph |
<T> MatrixDeterminant<T> |
matrixDeterminant(Operand<T> input)
Adds an
MatrixDeterminant operation to the graph |
<T> MatrixDiag<T> |
matrixDiag(Operand<T> diagonal)
Adds an
MatrixDiag operation to the graph |
<T> MatrixDiagPart<T> |
matrixDiagPart(Operand<T> input)
Adds an
MatrixDiagPart operation to the graph |
<T> MatrixExponential<T> |
matrixExponential(Operand<T> input)
Adds an
MatrixExponential operation to the graph |
<T> MatrixInverse<T> |
matrixInverse(Operand<T> input,
MatrixInverse.Options... options)
Adds an
MatrixInverse operation to the graph |
<T> MatrixSetDiag<T> |
matrixSetDiag(Operand<T> input,
Operand<T> diagonal)
Adds an
MatrixSetDiag operation to the graph |
<T> MatrixSolve<T> |
matrixSolve(Operand<T> matrix,
Operand<T> rhs,
MatrixSolve.Options... options)
Adds an
MatrixSolve operation to the graph |
<T> MatrixSolveLs<T> |
matrixSolveLs(Operand<T> matrix,
Operand<T> rhs,
Operand<Double> l2Regularizer,
MatrixSolveLs.Options... options)
Adds an
MatrixSolveLs operation to the graph |
<T> MatrixTriangularSolve<T> |
matrixTriangularSolve(Operand<T> matrix,
Operand<T> rhs,
MatrixTriangularSolve.Options... options)
Adds an
MatrixTriangularSolve operation to the graph |
<T,U extends Number> |
max(Operand<T> input,
Operand<U> axis,
Max.Options... options)
Adds an
Max operation to the graph |
<T extends Number> |
maximum(Operand<T> x,
Operand<T> y)
Adds an
Maximum operation to the graph |
<T> MaxPool<T> |
maxPool(Operand<T> input,
List<Long> ksize,
List<Long> strides,
String padding,
MaxPool.Options... options)
Adds an
MaxPool operation to the graph |
<T extends Number> |
maxPool3D(Operand<T> input,
List<Long> ksize,
List<Long> strides,
String padding,
MaxPool3D.Options... options)
Adds an
MaxPool3D operation to the graph |
<U extends Number,T extends Number> |
maxPool3DGrad(Operand<T> origInput,
Operand<T> origOutput,
Operand<U> grad,
List<Long> ksize,
List<Long> strides,
String padding,
MaxPool3DGrad.Options... options)
Adds an
MaxPool3DGrad operation to the graph |
<T extends Number> |
maxPool3DGradGrad(Operand<T> origInput,
Operand<T> origOutput,
Operand<T> grad,
List<Long> ksize,
List<Long> strides,
String padding,
MaxPool3DGradGrad.Options... options)
Adds an
MaxPool3DGradGrad operation to the graph |
<T extends Number> |
maxPoolGradGrad(Operand<T> origInput,
Operand<T> origOutput,
Operand<T> grad,
List<Long> ksize,
List<Long> strides,
String padding,
MaxPoolGradGrad.Options... options)
Adds an
MaxPoolGradGrad operation to the graph |
<T extends Number> |
maxPoolGradGradV2(Operand<T> origInput,
Operand<T> origOutput,
Operand<T> grad,
Operand<Integer> ksize,
Operand<Integer> strides,
String padding,
MaxPoolGradGradV2.Options... options)
Adds an
MaxPoolGradGradV2 operation to the graph |
<T extends Number,U extends Number> |
maxPoolGradGradWithArgmax(Operand<T> input,
Operand<T> grad,
Operand<U> argmax,
List<Long> ksize,
List<Long> strides,
String padding)
Adds an
MaxPoolGradGradWithArgmax operation to the graph |
<T extends Number> |
maxPoolGradV2(Operand<T> origInput,
Operand<T> origOutput,
Operand<T> grad,
Operand<Integer> ksize,
Operand<Integer> strides,
String padding,
MaxPoolGradV2.Options... options)
Adds an
MaxPoolGradV2 operation to the graph |
<T> MaxPoolV2<T> |
maxPoolV2(Operand<T> input,
Operand<Integer> ksize,
Operand<Integer> strides,
String padding,
MaxPoolV2.Options... options)
Adds an
MaxPoolV2 operation to the graph |
<T extends Number,U extends Number> |
maxPoolWithArgmax(Operand<T> input,
List<Long> ksize,
List<Long> strides,
Class<U> Targmax,
String padding)
Adds an
MaxPoolWithArgmax operation to the graph |
<T,U extends Number> |
mean(Operand<T> input,
Operand<U> axis,
Mean.Options... options)
Adds an
Mean operation to the graph |
<T> Merge<T> |
merge(Operand<T> inputs)
Adds an
Merge operation to the graph |
MergeSummary |
mergeSummary(Iterable<Operand<String>> inputs)
Adds an
MergeSummary operation to the graph |
MergeV2Checkpoints |
mergeV2Checkpoints(Operand<String> checkpointPrefixes,
Operand<String> destinationPrefix,
MergeV2Checkpoints.Options... options)
Adds an
MergeV2Checkpoints operation to the graph |
Mfcc |
mfcc(Operand<Float> spectrogram,
Operand<Integer> sampleRate,
Mfcc.Options... options)
Adds an
Mfcc operation to the graph |
<T,U extends Number> |
min(Operand<T> input,
Operand<U> axis,
Min.Options... options)
Adds an
Min operation to the graph |
<T extends Number> |
minimum(Operand<T> x,
Operand<T> y)
Adds an
Minimum operation to the graph |
<T,U extends Number> |
mirrorPad(Operand<T> input,
Operand<U> paddings,
String mode)
Adds an
MirrorPad operation to the graph |
<T extends Number> |
mod(Operand<T> x,
Operand<T> y)
Adds an
Mod operation to the graph |
<T> Mul<T> |
mul(Operand<T> x,
Operand<T> y)
Adds an
Mul operation to the graph |
<U extends Number,T extends Number> |
multinomial(Operand<T> logits,
Operand<Integer> numSamples,
Class<U> outputDtype,
Multinomial.Options... options)
Adds an
Multinomial operation to the graph |
<T> Multiply<T> |
multiply(Operand<T> x,
Operand<T> y)
Adds an
Multiply operation to the graph |
<T,U> MutableDenseHashTable |
mutableDenseHashTable(Operand<T> emptyKey,
Class<U> valueDtype,
MutableDenseHashTable.Options... options)
Adds an
MutableDenseHashTable operation to the graph |
<T,U> MutableHashTable |
mutableHashTable(Class<T> keyDtype,
Class<U> valueDtype,
MutableHashTable.Options... options)
Adds an
MutableHashTable operation to the graph |
<T,U> MutableHashTableOfTensors |
mutableHashTableOfTensors(Class<T> keyDtype,
Class<U> valueDtype,
MutableHashTableOfTensors.Options... options)
Adds an
MutableHashTableOfTensors operation to the graph |
MutexLock |
mutexLock(Operand<?> mutex)
Adds an
MutexLock operation to the graph |
MutexV2 |
mutexV2(MutexV2.Options... options)
Adds an
MutexV2 operation to the graph |
<T> Neg<T> |
neg(Operand<T> x)
Adds an
Neg operation to the graph |
<T> Negate<T> |
negate(Operand<T> x)
Adds an
Negate operation to the graph |
NegTrain |
negTrain(Operand<Float> wIn,
Operand<Float> wOut,
Operand<Integer> examples,
Operand<Integer> labels,
Operand<Float> lr,
List<Long> vocabCount,
Long numNegativeSamples)
Adds an
NegTrain operation to the graph |
<T> NextIteration<T> |
nextIteration(Operand<T> data)
Adds an
NextIteration operation to the graph |
NonMaxSuppression |
nonMaxSuppression(Operand<Float> boxes,
Operand<Float> scores,
Operand<Integer> maxOutputSize,
NonMaxSuppression.Options... options)
Adds an
NonMaxSuppression operation to the graph |
NonMaxSuppressionV2 |
nonMaxSuppressionV2(Operand<Float> boxes,
Operand<Float> scores,
Operand<Integer> maxOutputSize,
Operand<Float> iouThreshold)
Adds an
NonMaxSuppressionV2 operation to the graph |
NonMaxSuppressionV3 |
nonMaxSuppressionV3(Operand<Float> boxes,
Operand<Float> scores,
Operand<Integer> maxOutputSize,
Operand<Float> iouThreshold,
Operand<Float> scoreThreshold)
Adds an
NonMaxSuppressionV3 operation to the graph |
NonMaxSuppressionWithOverlaps |
nonMaxSuppressionWithOverlaps(Operand<Float> overlaps,
Operand<Float> scores,
Operand<Integer> maxOutputSize,
Operand<Float> overlapThreshold,
Operand<Float> scoreThreshold)
Adds an
NonMaxSuppressionWithOverlaps operation to the graph |
NoOp |
noOp()
Adds an
NoOp operation to the graph |
<T> NotEqual |
notEqual(Operand<T> x,
Operand<T> y)
Adds an
NotEqual operation to the graph |
<T extends Number> |
nthElement(Operand<T> input,
Operand<Integer> n,
NthElement.Options... options)
Adds an
NthElement operation to the graph |
<U,T extends Number> |
oneHot(Operand<T> indices,
Operand<Integer> depth,
Operand<U> onValue,
Operand<U> offValue,
OneHot.Options... options)
Adds an
OneHot operation to the graph |
<T> OnesLike<T> |
onesLike(Operand<T> x)
Adds an
OnesLike operation to the graph |
OrderedMapClear |
orderedMapClear(List<Class<?>> dtypes,
OrderedMapClear.Options... options)
Adds an
OrderedMapClear operation to the graph |
OrderedMapIncompleteSize |
orderedMapIncompleteSize(List<Class<?>> dtypes,
OrderedMapIncompleteSize.Options... options)
Adds an
OrderedMapIncompleteSize operation to the graph |
OrderedMapPeek |
orderedMapPeek(Operand<Long> key,
Operand<Integer> indices,
List<Class<?>> dtypes,
OrderedMapPeek.Options... options)
Adds an
OrderedMapPeek operation to the graph |
OrderedMapSize |
orderedMapSize(List<Class<?>> dtypes,
OrderedMapSize.Options... options)
Adds an
OrderedMapSize operation to the graph |
OrderedMapStage |
orderedMapStage(Operand<Long> key,
Operand<Integer> indices,
Iterable<Operand<?>> values,
List<Class<?>> dtypes,
OrderedMapStage.Options... options)
Adds an
OrderedMapStage operation to the graph |
OrderedMapUnstage |
orderedMapUnstage(Operand<Long> key,
Operand<Integer> indices,
List<Class<?>> dtypes,
OrderedMapUnstage.Options... options)
Adds an
OrderedMapUnstage operation to the graph |
OrderedMapUnstageNoKey |
orderedMapUnstageNoKey(Operand<Integer> indices,
List<Class<?>> dtypes,
OrderedMapUnstageNoKey.Options... options)
Adds an
OrderedMapUnstageNoKey operation to the graph |
<T,U extends Number> |
pad(Operand<T> input,
Operand<U> paddings)
Adds an
Pad operation to the graph |
PaddedBatchDataset |
paddedBatchDataset(Operand<?> inputDataset,
Operand<Long> batchSize,
Iterable<Operand<Long>> paddedShapes,
Iterable<Operand<?>> paddingValues,
List<Shape> outputShapes)
Adds an
PaddedBatchDataset operation to the graph |
PaddingFIFOQueue |
paddingFIFOQueue(List<Class<?>> componentTypes,
PaddingFIFOQueue.Options... options)
Adds an
PaddingFIFOQueue operation to the graph |
<T,U extends Number> |
padV2(Operand<T> input,
Operand<U> paddings,
Operand<T> constantValues)
Adds an
PadV2 operation to the graph |
<T> ParallelConcat<T> |
parallelConcat(Operand<T> values,
Shape shape)
Adds an
ParallelConcat operation to the graph |
<T> ParallelDynamicStitch<T> |
parallelDynamicStitch(Iterable<Operand<Integer>> indices,
Operand<T> data)
Adds an
ParallelDynamicStitch operation to the graph |
<U extends Number,T extends Number> |
parameterizedTruncatedNormal(Operand<T> shape,
Operand<U> means,
Operand<U> stdevs,
Operand<U> minvals,
Operand<U> maxvals,
ParameterizedTruncatedNormal.Options... options)
Adds an
ParameterizedTruncatedNormal operation to the graph |
ParseExample |
parseExample(Operand<String> serialized,
Operand<String> names,
Iterable<Operand<String>> sparseKeys,
Iterable<Operand<String>> denseKeys,
Iterable<Operand<?>> denseDefaults,
List<Class<?>> sparseTypes,
List<Shape> denseShapes)
Adds an
ParseExample operation to the graph |
ParseSingleExample |
parseSingleExample(Operand<String> serialized,
Iterable<Operand<?>> denseDefaults,
Long numSparse,
List<String> sparseKeys,
List<String> denseKeys,
List<Class<?>> sparseTypes,
List<Shape> denseShapes)
Adds an
ParseSingleExample operation to the graph |
ParseSingleSequenceExample |
parseSingleSequenceExample(Operand<String> serialized,
Operand<String> featureListDenseMissingAssumedEmpty,
Iterable<Operand<String>> contextSparseKeys,
Iterable<Operand<String>> contextDenseKeys,
Iterable<Operand<String>> featureListSparseKeys,
Iterable<Operand<String>> featureListDenseKeys,
Iterable<Operand<?>> contextDenseDefaults,
Operand<String> debugName,
List<Class<?>> contextSparseTypes,
List<Class<?>> featureListDenseTypes,
List<Class<?>> featureListSparseTypes,
ParseSingleSequenceExample.Options... options)
Adds an
ParseSingleSequenceExample operation to the graph |
<T> ParseTensor<T> |
parseTensor(Operand<String> serialized,
Class<T> outType)
Adds an
ParseTensor operation to the graph |
<T> Placeholder<T> |
placeholder(Class<T> dtype,
Placeholder.Options... options)
Adds an
Placeholder operation to the graph |
<T> PlaceholderV2<T> |
placeholderV2(Class<T> dtype,
Shape shape)
Adds an
PlaceholderV2 operation to the graph |
<T> PlaceholderWithDefault<T> |
placeholderWithDefault(Operand<T> input,
Shape shape)
Adds an
PlaceholderWithDefault operation to the graph |
<T extends Number> |
polygamma(Operand<T> a,
Operand<T> x)
Adds an
Polygamma operation to the graph |
<T extends Number> |
populationCount(Operand<T> x)
Adds an
PopulationCount operation to the graph |
<T> Pow<T> |
pow(Operand<T> x,
Operand<T> y)
Adds an
Pow operation to the graph |
PrefetchDataset |
prefetchDataset(Operand<?> inputDataset,
Operand<Long> bufferSize,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
PrefetchDataset operation to the graph |
PrependFromQueueAndPaddedBatchDataset |
prependFromQueueAndPaddedBatchDataset(Operand<?> inputDataset,
Operand<Long> batchSize,
Iterable<Operand<Long>> paddedShapes,
Iterable<Operand<?>> paddingValues,
List<Shape> outputShapes)
Adds an
PrependFromQueueAndPaddedBatchDataset operation to the graph |
<T> PreventGradient<T> |
preventGradient(Operand<T> input,
PreventGradient.Options... options)
Adds an
PreventGradient operation to the graph |
<T> Print<T> |
print(Operand<T> input,
Iterable<Operand<?>> data,
Print.Options... options)
Adds an
Print operation to the graph |
PriorityQueue |
priorityQueue(List<Class<?>> componentTypes,
List<Shape> shapes,
PriorityQueue.Options... options)
Adds an
PriorityQueue operation to the graph |
<T,U extends Number> |
prod(Operand<T> input,
Operand<U> axis,
Prod.Options... options)
Adds an
Prod operation to the graph |
<T> Qr<T> |
qr(Operand<T> input,
Qr.Options... options)
Adds an
Qr operation to the graph |
<T extends Number> |
quantizeAndDequantize(Operand<T> input,
QuantizeAndDequantize.Options... options)
Adds an
QuantizeAndDequantize operation to the graph |
<T extends Number> |
quantizeAndDequantizeV2(Operand<T> input,
Operand<T> inputMin,
Operand<T> inputMax,
QuantizeAndDequantizeV2.Options... options)
Adds an
QuantizeAndDequantizeV2 operation to the graph |
<T extends Number> |
quantizeAndDequantizeV3(Operand<T> input,
Operand<T> inputMin,
Operand<T> inputMax,
Operand<Integer> numBits,
QuantizeAndDequantizeV3.Options... options)
Adds an
QuantizeAndDequantizeV3 operation to the graph |
<V,T,U> QuantizedAdd<V> |
quantizedAdd(Operand<T> x,
Operand<U> y,
Operand<Float> minX,
Operand<Float> maxX,
Operand<Float> minY,
Operand<Float> maxY,
Class<V> Toutput)
Adds an
QuantizedAdd operation to the graph |
<T> QuantizedAvgPool<T> |
quantizedAvgPool(Operand<T> input,
Operand<Float> minInput,
Operand<Float> maxInput,
List<Long> ksize,
List<Long> strides,
String padding)
Adds an
QuantizedAvgPool operation to the graph |
<U,T> QuantizedBatchNormWithGlobalNormalization<U> |
quantizedBatchNormWithGlobalNormalization(Operand<T> t,
Operand<Float> tMin,
Operand<Float> tMax,
Operand<T> m,
Operand<Float> mMin,
Operand<Float> mMax,
Operand<T> v,
Operand<Float> vMin,
Operand<Float> vMax,
Operand<T> beta,
Operand<Float> betaMin,
Operand<Float> betaMax,
Operand<T> gamma,
Operand<Float> gammaMin,
Operand<Float> gammaMax,
Class<U> outType,
Float varianceEpsilon,
Boolean scaleAfterNormalization)
Adds an
QuantizedBatchNormWithGlobalNormalization operation to the graph |
<V,T,U> QuantizedBiasAdd<V> |
quantizedBiasAdd(Operand<T> input,
Operand<U> bias,
Operand<Float> minInput,
Operand<Float> maxInput,
Operand<Float> minBias,
Operand<Float> maxBias,
Class<V> outType)
Adds an
QuantizedBiasAdd operation to the graph |
<T> QuantizedConcat<T> |
quantizedConcat(Operand<Integer> concatDim,
Operand<T> values,
Iterable<Operand<Float>> inputMins,
Iterable<Operand<Float>> inputMaxes)
Adds an
QuantizedConcat operation to the graph |
<V,T,U> QuantizedConv2D<V> |
quantizedConv2D(Operand<T> input,
Operand<U> filter,
Operand<Float> minInput,
Operand<Float> maxInput,
Operand<Float> minFilter,
Operand<Float> maxFilter,
Class<V> outType,
List<Long> strides,
String padding,
QuantizedConv2D.Options... options)
Adds an
QuantizedConv2D operation to the graph |
<T> QuantizedInstanceNorm<T> |
quantizedInstanceNorm(Operand<T> x,
Operand<Float> xMin,
Operand<Float> xMax,
QuantizedInstanceNorm.Options... options)
Adds an
QuantizedInstanceNorm operation to the graph |
<V,T,U,W> QuantizedMatMul<V> |
quantizedMatMul(Operand<T> a,
Operand<U> b,
Operand<Float> minA,
Operand<Float> maxA,
Operand<Float> minB,
Operand<Float> maxB,
Class<V> Toutput,
Class<W> Tactivation,
QuantizedMatMul.Options... options)
Adds an
QuantizedMatMul operation to the graph |
<T> QuantizedMaxPool<T> |
quantizedMaxPool(Operand<T> input,
Operand<Float> minInput,
Operand<Float> maxInput,
List<Long> ksize,
List<Long> strides,
String padding)
Adds an
QuantizedMaxPool operation to the graph |
<V,T,U> QuantizedMul<V> |
quantizedMul(Operand<T> x,
Operand<U> y,
Operand<Float> minX,
Operand<Float> maxX,
Operand<Float> minY,
Operand<Float> maxY,
Class<V> Toutput)
Adds an
QuantizedMul operation to the graph |
<U,T> QuantizeDownAndShrinkRange<U> |
quantizeDownAndShrinkRange(Operand<T> input,
Operand<Float> inputMin,
Operand<Float> inputMax,
Class<U> outType)
Adds an
QuantizeDownAndShrinkRange operation to the graph |
<U,T> QuantizedRelu<U> |
quantizedRelu(Operand<T> features,
Operand<Float> minFeatures,
Operand<Float> maxFeatures,
Class<U> outType)
Adds an
QuantizedRelu operation to the graph |
<U,T> QuantizedRelu6<U> |
quantizedRelu6(Operand<T> features,
Operand<Float> minFeatures,
Operand<Float> maxFeatures,
Class<U> outType)
Adds an
QuantizedRelu6 operation to the graph |
<U,T> QuantizedReluX<U> |
quantizedReluX(Operand<T> features,
Operand<Float> maxValue,
Operand<Float> minFeatures,
Operand<Float> maxFeatures,
Class<U> outType)
Adds an
QuantizedReluX operation to the graph |
<T,U extends Number> |
quantizedReshape(Operand<T> tensor,
Operand<U> shape,
Operand<Float> inputMin,
Operand<Float> inputMax)
Adds an
QuantizedReshape operation to the graph |
<T> QuantizedResizeBilinear<T> |
quantizedResizeBilinear(Operand<T> images,
Operand<Integer> size,
Operand<Float> min,
Operand<Float> max,
QuantizedResizeBilinear.Options... options)
Adds an
QuantizedResizeBilinear operation to the graph |
<T> QuantizeV2<T> |
quantizeV2(Operand<Float> input,
Operand<Float> minRange,
Operand<Float> maxRange,
Class<T> T,
QuantizeV2.Options... options)
Adds an
QuantizeV2 operation to the graph |
QueueClose |
queueClose(Operand<?> handle,
QueueClose.Options... options)
Adds an
QueueClose operation to the graph |
QueueDequeue |
queueDequeue(Operand<?> handle,
List<Class<?>> componentTypes,
QueueDequeue.Options... options)
Adds an
QueueDequeue operation to the graph |
QueueDequeueMany |
queueDequeueMany(Operand<?> handle,
Operand<Integer> n,
List<Class<?>> componentTypes,
QueueDequeueMany.Options... options)
Adds an
QueueDequeueMany operation to the graph |
QueueDequeueUpTo |
queueDequeueUpTo(Operand<?> handle,
Operand<Integer> n,
List<Class<?>> componentTypes,
QueueDequeueUpTo.Options... options)
Adds an
QueueDequeueUpTo operation to the graph |
QueueEnqueue |
queueEnqueue(Operand<?> handle,
Iterable<Operand<?>> components,
QueueEnqueue.Options... options)
Adds an
QueueEnqueue operation to the graph |
QueueEnqueueMany |
queueEnqueueMany(Operand<?> handle,
Iterable<Operand<?>> components,
QueueEnqueueMany.Options... options)
Adds an
QueueEnqueueMany operation to the graph |
QueueIsClosed |
queueIsClosed(Operand<String> handle)
Adds an
QueueIsClosed operation to the graph |
QueueIsClosedV2 |
queueIsClosedV2(Operand<?> handle)
Adds an
QueueIsClosedV2 operation to the graph |
QueueSize |
queueSize(Operand<?> handle)
Adds an
QueueSize operation to the graph |
<T extends Number> |
randomCrop(Operand<T> image,
Operand<Long> size,
RandomCrop.Options... options)
Adds an
RandomCrop operation to the graph |
RandomDataset |
randomDataset(Operand<Long> seed,
Operand<Long> seed2,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
RandomDataset operation to the graph |
<U extends Number,T extends Number> |
randomGamma(Operand<T> shape,
Operand<U> alpha,
RandomGamma.Options... options)
Adds an
RandomGamma operation to the graph |
<U extends Number,T extends Number> |
randomNormal(Operand<T> shape,
Class<U> dtype,
RandomNormal.Options... options)
Adds an
RandomNormal operation to the graph |
<U extends Number,T extends Number> |
randomPoisson(Operand<T> shape,
Operand<U> rate,
RandomPoisson.Options... options)
Adds an
RandomPoisson operation to the graph |
<V extends Number,T extends Number,U extends Number> |
randomPoissonV2(Operand<T> shape,
Operand<U> rate,
Class<V> dtype,
RandomPoissonV2.Options... options)
Adds an
RandomPoissonV2 operation to the graph |
<T> RandomShuffle<T> |
randomShuffle(Operand<T> value,
RandomShuffle.Options... options)
Adds an
RandomShuffle operation to the graph |
RandomShuffleQueue |
randomShuffleQueue(List<Class<?>> componentTypes,
RandomShuffleQueue.Options... options)
Adds an
RandomShuffleQueue operation to the graph |
<U extends Number,T extends Number> |
randomUniform(Operand<T> shape,
Class<U> dtype,
RandomUniform.Options... options)
Adds an
RandomUniform operation to the graph |
<U extends Number,T extends Number> |
randomUniformInt(Operand<T> shape,
Operand<U> minval,
Operand<U> maxval,
RandomUniformInt.Options... options)
Adds an
RandomUniformInt operation to the graph |
<T extends Number> |
range(Operand<T> start,
Operand<T> limit,
Operand<T> delta)
Adds an
Range operation to the graph |
RangeDataset |
rangeDataset(Operand<Long> start,
Operand<Long> stop,
Operand<Long> step,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
RangeDataset operation to the graph |
<T> Rank |
rank(Operand<T> input)
Adds an
Rank operation to the graph |
ReaderNumRecordsProduced |
readerNumRecordsProduced(Operand<?> readerHandle)
Adds an
ReaderNumRecordsProduced operation to the graph |
ReaderNumWorkUnitsCompleted |
readerNumWorkUnitsCompleted(Operand<?> readerHandle)
Adds an
ReaderNumWorkUnitsCompleted operation to the graph |
ReaderRead |
readerRead(Operand<?> readerHandle,
Operand<?> queueHandle)
Adds an
ReaderRead operation to the graph |
ReaderReadUpTo |
readerReadUpTo(Operand<?> readerHandle,
Operand<?> queueHandle,
Operand<Long> numRecords)
Adds an
ReaderReadUpTo operation to the graph |
ReaderReset |
readerReset(Operand<?> readerHandle)
Adds an
ReaderReset operation to the graph |
ReaderRestoreState |
readerRestoreState(Operand<?> readerHandle,
Operand<String> state)
Adds an
ReaderRestoreState operation to the graph |
ReaderSerializeState |
readerSerializeState(Operand<?> readerHandle)
Adds an
ReaderSerializeState operation to the graph |
ReadFile |
readFile(Operand<String> filename)
Adds an
ReadFile operation to the graph |
<T> ReadVariableOp<T> |
readVariableOp(Operand<?> resource,
Class<T> dtype)
Adds an
ReadVariableOp operation to the graph |
<U extends Number,T> |
real(Operand<T> input,
Class<U> Tout)
Adds an
Real operation to the graph |
<T> RealDiv<T> |
realDiv(Operand<T> x,
Operand<T> y)
Adds an
RealDiv operation to the graph |
<T> Reciprocal<T> |
reciprocal(Operand<T> x)
Adds an
Reciprocal operation to the graph |
RecordInput |
recordInput(String filePattern,
RecordInput.Options... options)
Adds an
RecordInput operation to the graph |
<T extends Number> |
reduceAll(Operand<Boolean> input,
Operand<T> axis,
ReduceAll.Options... options)
Adds an
ReduceAll operation to the graph |
<T extends Number> |
reduceAny(Operand<Boolean> input,
Operand<T> axis,
ReduceAny.Options... options)
Adds an
ReduceAny operation to the graph |
ReduceJoin |
reduceJoin(Operand<String> inputs,
Operand<Integer> reductionIndices,
ReduceJoin.Options... options)
Adds an
ReduceJoin operation to the graph |
<T,U extends Number> |
reduceMax(Operand<T> input,
Operand<U> axis,
ReduceMax.Options... options)
Adds an
ReduceMax operation to the graph |
<T,U extends Number> |
reduceMean(Operand<T> input,
Operand<U> axis,
ReduceMean.Options... options)
Adds an
ReduceMean operation to the graph |
<T,U extends Number> |
reduceMin(Operand<T> input,
Operand<U> axis,
ReduceMin.Options... options)
Adds an
ReduceMin operation to the graph |
<T,U extends Number> |
reduceProd(Operand<T> input,
Operand<U> axis,
ReduceProd.Options... options)
Adds an
ReduceProd operation to the graph |
<T,U extends Number> |
reduceSum(Operand<T> input,
Operand<U> axis,
ReduceSum.Options... options)
Adds an
ReduceSum operation to the graph |
<T> RefNextIteration<T> |
refNextIteration(Operand<T> data)
Adds an
RefNextIteration operation to the graph |
<T> RefSelect<T> |
refSelect(Operand<Integer> index,
Operand<T> inputs)
Adds an
RefSelect operation to the graph |
<T> RefSwitch<T> |
refSwitch(Operand<T> data,
Operand<Boolean> pred)
Adds an
RefSwitch operation to the graph |
RegexFullMatch |
regexFullMatch(Operand<String> input,
Operand<String> pattern)
Adds an
RegexFullMatch operation to the graph |
RegexReplace |
regexReplace(Operand<String> input,
Operand<String> pattern,
Operand<String> rewrite,
RegexReplace.Options... options)
Adds an
RegexReplace operation to the graph |
<T extends Number> |
relu(Operand<T> features)
Adds an
Relu operation to the graph |
<T extends Number> |
relu6(Operand<T> features)
Adds an
Relu6 operation to the graph |
RemoteFusedGraphExecute |
remoteFusedGraphExecute(Iterable<Operand<?>> inputs,
List<Class<?>> Toutputs,
String serializedRemoteFusedGraphExecuteInfo)
Adds an
RemoteFusedGraphExecute operation to the graph |
RepeatDataset |
repeatDataset(Operand<?> inputDataset,
Operand<Long> count,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
RepeatDataset operation to the graph |
<T> RequantizationRange |
requantizationRange(Operand<T> input,
Operand<Float> inputMin,
Operand<Float> inputMax)
Adds an
RequantizationRange operation to the graph |
<U,T> Requantize<U> |
requantize(Operand<T> input,
Operand<Float> inputMin,
Operand<Float> inputMax,
Operand<Float> requestedOutputMin,
Operand<Float> requestedOutputMax,
Class<U> outType)
Adds an
Requantize operation to the graph |
<T,U extends Number> |
reshape(Operand<T> tensor,
Operand<U> shape)
Adds an
Reshape operation to the graph |
<T extends Number> |
resizeArea(Operand<T> images,
Operand<Integer> size,
ResizeArea.Options... options)
Adds an
ResizeArea operation to the graph |
<T extends Number> |
resizeBicubic(Operand<T> images,
Operand<Integer> size,
ResizeBicubic.Options... options)
Adds an
ResizeBicubic operation to the graph |
<T extends Number> |
resizeBilinear(Operand<T> images,
Operand<Integer> size,
ResizeBilinear.Options... options)
Adds an
ResizeBilinear operation to the graph |
<T extends Number> |
resizeNearestNeighbor(Operand<T> images,
Operand<Integer> size,
ResizeNearestNeighbor.Options... options)
Adds an
ResizeNearestNeighbor operation to the graph |
<T> ResourceApplyAdadelta |
resourceApplyAdadelta(Operand<?> var,
Operand<?> accum,
Operand<?> accumUpdate,
Operand<T> lr,
Operand<T> rho,
Operand<T> epsilon,
Operand<T> grad,
ResourceApplyAdadelta.Options... options)
Adds an
ResourceApplyAdadelta operation to the graph |
<T> ResourceApplyAdagrad |
resourceApplyAdagrad(Operand<?> var,
Operand<?> accum,
Operand<T> lr,
Operand<T> grad,
ResourceApplyAdagrad.Options... options)
Adds an
ResourceApplyAdagrad operation to the graph |
<T> ResourceApplyAdagradDA |
resourceApplyAdagradDA(Operand<?> var,
Operand<?> gradientAccumulator,
Operand<?> gradientSquaredAccumulator,
Operand<T> grad,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<Long> globalStep,
ResourceApplyAdagradDA.Options... options)
Adds an
ResourceApplyAdagradDA operation to the graph |
<T> ResourceApplyAdam |
resourceApplyAdam(Operand<?> var,
Operand<?> m,
Operand<?> v,
Operand<T> beta1Power,
Operand<T> beta2Power,
Operand<T> lr,
Operand<T> beta1,
Operand<T> beta2,
Operand<T> epsilon,
Operand<T> grad,
ResourceApplyAdam.Options... options)
Adds an
ResourceApplyAdam operation to the graph |
<T> ResourceApplyAddSign |
resourceApplyAddSign(Operand<?> var,
Operand<?> m,
Operand<T> lr,
Operand<T> alpha,
Operand<T> signDecay,
Operand<T> beta,
Operand<T> grad,
ResourceApplyAddSign.Options... options)
Adds an
ResourceApplyAddSign operation to the graph |
<T> ResourceApplyCenteredRMSProp |
resourceApplyCenteredRMSProp(Operand<?> var,
Operand<?> mg,
Operand<?> ms,
Operand<?> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
ResourceApplyCenteredRMSProp.Options... options)
Adds an
ResourceApplyCenteredRMSProp operation to the graph |
<T> ResourceApplyFtrl |
resourceApplyFtrl(Operand<?> var,
Operand<?> accum,
Operand<?> linear,
Operand<T> grad,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> lrPower,
ResourceApplyFtrl.Options... options)
Adds an
ResourceApplyFtrl operation to the graph |
<T> ResourceApplyFtrlV2 |
resourceApplyFtrlV2(Operand<?> var,
Operand<?> accum,
Operand<?> linear,
Operand<T> grad,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> l2Shrinkage,
Operand<T> lrPower,
ResourceApplyFtrlV2.Options... options)
Adds an
ResourceApplyFtrlV2 operation to the graph |
<T> ResourceApplyGradientDescent |
resourceApplyGradientDescent(Operand<?> var,
Operand<T> alpha,
Operand<T> delta,
ResourceApplyGradientDescent.Options... options)
Adds an
ResourceApplyGradientDescent operation to the graph |
<T> ResourceApplyMomentum |
resourceApplyMomentum(Operand<?> var,
Operand<?> accum,
Operand<T> lr,
Operand<T> grad,
Operand<T> momentum,
ResourceApplyMomentum.Options... options)
Adds an
ResourceApplyMomentum operation to the graph |
<T> ResourceApplyPowerSign |
resourceApplyPowerSign(Operand<?> var,
Operand<?> m,
Operand<T> lr,
Operand<T> logbase,
Operand<T> signDecay,
Operand<T> beta,
Operand<T> grad,
ResourceApplyPowerSign.Options... options)
Adds an
ResourceApplyPowerSign operation to the graph |
<T> ResourceApplyProximalAdagrad |
resourceApplyProximalAdagrad(Operand<?> var,
Operand<?> accum,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> grad,
ResourceApplyProximalAdagrad.Options... options)
Adds an
ResourceApplyProximalAdagrad operation to the graph |
<T> ResourceApplyProximalGradientDescent |
resourceApplyProximalGradientDescent(Operand<?> var,
Operand<T> alpha,
Operand<T> l1,
Operand<T> l2,
Operand<T> delta,
ResourceApplyProximalGradientDescent.Options... options)
Adds an
ResourceApplyProximalGradientDescent operation to the graph |
<T> ResourceApplyRMSProp |
resourceApplyRMSProp(Operand<?> var,
Operand<?> ms,
Operand<?> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
ResourceApplyRMSProp.Options... options)
Adds an
ResourceApplyRMSProp operation to the graph |
<T extends Number> |
resourceCountUpTo(Operand<?> resource,
Long limit,
Class<T> T)
Adds an
ResourceCountUpTo operation to the graph |
<U,T extends Number> |
resourceGather(Operand<?> resource,
Operand<T> indices,
Class<U> dtype,
ResourceGather.Options... options)
Adds an
ResourceGather operation to the graph |
<T extends Number,U> |
resourceScatterAdd(Operand<?> resource,
Operand<T> indices,
Operand<U> updates)
Adds an
ResourceScatterAdd operation to the graph |
<T extends Number,U> |
resourceScatterDiv(Operand<?> resource,
Operand<T> indices,
Operand<U> updates)
Adds an
ResourceScatterDiv operation to the graph |
<T extends Number,U> |
resourceScatterMax(Operand<?> resource,
Operand<T> indices,
Operand<U> updates)
Adds an
ResourceScatterMax operation to the graph |
<T extends Number,U> |
resourceScatterMin(Operand<?> resource,
Operand<T> indices,
Operand<U> updates)
Adds an
ResourceScatterMin operation to the graph |
<T extends Number,U> |
resourceScatterMul(Operand<?> resource,
Operand<T> indices,
Operand<U> updates)
Adds an
ResourceScatterMul operation to the graph |
<T extends Number,U> |
resourceScatterNdAdd(Operand<?> ref,
Operand<T> indices,
Operand<U> updates,
ResourceScatterNdAdd.Options... options)
Adds an
ResourceScatterNdAdd operation to the graph |
<T extends Number,U> |
resourceScatterNdUpdate(Operand<?> ref,
Operand<T> indices,
Operand<U> updates,
ResourceScatterNdUpdate.Options... options)
Adds an
ResourceScatterNdUpdate operation to the graph |
<T extends Number,U> |
resourceScatterSub(Operand<?> resource,
Operand<T> indices,
Operand<U> updates)
Adds an
ResourceScatterSub operation to the graph |
<T extends Number,U> |
resourceScatterUpdate(Operand<?> resource,
Operand<T> indices,
Operand<U> updates)
Adds an
ResourceScatterUpdate operation to the graph |
<T,U extends Number> |
resourceSparseApplyAdadelta(Operand<?> var,
Operand<?> accum,
Operand<?> accumUpdate,
Operand<T> lr,
Operand<T> rho,
Operand<T> epsilon,
Operand<T> grad,
Operand<U> indices,
ResourceSparseApplyAdadelta.Options... options)
Adds an
ResourceSparseApplyAdadelta operation to the graph |
<T,U extends Number> |
resourceSparseApplyAdagrad(Operand<?> var,
Operand<?> accum,
Operand<T> lr,
Operand<T> grad,
Operand<U> indices,
ResourceSparseApplyAdagrad.Options... options)
Adds an
ResourceSparseApplyAdagrad operation to the graph |
<T,U extends Number> |
resourceSparseApplyAdagradDA(Operand<?> var,
Operand<?> gradientAccumulator,
Operand<?> gradientSquaredAccumulator,
Operand<T> grad,
Operand<U> indices,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<Long> globalStep,
ResourceSparseApplyAdagradDA.Options... options)
Adds an
ResourceSparseApplyAdagradDA operation to the graph |
<T,U extends Number> |
resourceSparseApplyCenteredRMSProp(Operand<?> var,
Operand<?> mg,
Operand<?> ms,
Operand<?> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
Operand<U> indices,
ResourceSparseApplyCenteredRMSProp.Options... options)
Adds an
ResourceSparseApplyCenteredRMSProp operation to the graph |
<T,U extends Number> |
resourceSparseApplyFtrl(Operand<?> var,
Operand<?> accum,
Operand<?> linear,
Operand<T> grad,
Operand<U> indices,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> lrPower,
ResourceSparseApplyFtrl.Options... options)
Adds an
ResourceSparseApplyFtrl operation to the graph |
<T,U extends Number> |
resourceSparseApplyFtrlV2(Operand<?> var,
Operand<?> accum,
Operand<?> linear,
Operand<T> grad,
Operand<U> indices,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> l2Shrinkage,
Operand<T> lrPower,
ResourceSparseApplyFtrlV2.Options... options)
Adds an
ResourceSparseApplyFtrlV2 operation to the graph |
<T,U extends Number> |
resourceSparseApplyMomentum(Operand<?> var,
Operand<?> accum,
Operand<T> lr,
Operand<T> grad,
Operand<U> indices,
Operand<T> momentum,
ResourceSparseApplyMomentum.Options... options)
Adds an
ResourceSparseApplyMomentum operation to the graph |
<T,U extends Number> |
resourceSparseApplyProximalAdagrad(Operand<?> var,
Operand<?> accum,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> grad,
Operand<U> indices,
ResourceSparseApplyProximalAdagrad.Options... options)
Adds an
ResourceSparseApplyProximalAdagrad operation to the graph |
<T,U extends Number> |
resourceSparseApplyProximalGradientDescent(Operand<?> var,
Operand<T> alpha,
Operand<T> l1,
Operand<T> l2,
Operand<T> grad,
Operand<U> indices,
ResourceSparseApplyProximalGradientDescent.Options... options)
Adds an
ResourceSparseApplyProximalGradientDescent operation to the graph |
<T,U extends Number> |
resourceSparseApplyRMSProp(Operand<?> var,
Operand<?> ms,
Operand<?> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
Operand<U> indices,
ResourceSparseApplyRMSProp.Options... options)
Adds an
ResourceSparseApplyRMSProp operation to the graph |
<T extends Number,U> |
resourceStridedSliceAssign(Operand<?> ref,
Operand<T> begin,
Operand<T> end,
Operand<T> strides,
Operand<U> value,
ResourceStridedSliceAssign.Options... options)
Adds an
ResourceStridedSliceAssign operation to the graph |
<T> Restore<T> |
restore(Operand<String> filePattern,
Operand<String> tensorName,
Class<T> dt,
Restore.Options... options)
Adds an
Restore operation to the graph |
<T> RestoreSlice<T> |
restoreSlice(Operand<String> filePattern,
Operand<String> tensorName,
Operand<String> shapeAndSlice,
Class<T> dt,
RestoreSlice.Options... options)
Adds an
RestoreSlice operation to the graph |
RestoreV2 |
restoreV2(Operand<String> prefix,
Operand<String> tensorNames,
Operand<String> shapeAndSlices,
List<Class<?>> dtypes)
Adds an
RestoreV2 operation to the graph |
<T,U extends Number> |
reverse(Operand<T> tensor,
Operand<U> axis)
Adds an
Reverse operation to the graph |
<T,U extends Number> |
reverseSequence(Operand<T> input,
Operand<U> seqLengths,
Long seqDim,
ReverseSequence.Options... options)
Adds an
ReverseSequence operation to the graph |
RFFT |
rFFT(Operand<Float> input,
Operand<Integer> fftLength)
Adds an
RFFT operation to the graph |
RFFT2D |
rFFT2D(Operand<Float> input,
Operand<Integer> fftLength)
Adds an
RFFT2D operation to the graph |
RFFT3D |
rFFT3D(Operand<Float> input,
Operand<Integer> fftLength)
Adds an
RFFT3D operation to the graph |
<T extends Number> |
rGBToHSV(Operand<T> images)
Adds an
RGBToHSV operation to the graph |
<T extends Number> |
rightShift(Operand<T> x,
Operand<T> y)
Adds an
RightShift operation to the graph |
<T extends Number> |
rint(Operand<T> x)
Adds an
Rint operation to the graph |
<T,U extends Number,V extends Number> |
roll(Operand<T> input,
Operand<U> shift,
Operand<V> axis)
Adds an
Roll operation to the graph |
<T> Round<T> |
round(Operand<T> x)
Adds an
Round operation to the graph |
Rpc |
rpc(Operand<String> address,
Operand<String> method,
Operand<String> request,
Rpc.Options... options)
Adds an
Rpc operation to the graph |
<T> Rsqrt<T> |
rsqrt(Operand<T> x)
Adds an
Rsqrt operation to the graph |
<T extends Number> |
sampleDistortedBoundingBox(Operand<T> imageSize,
Operand<Float> boundingBoxes,
SampleDistortedBoundingBox.Options... options)
Adds an
SampleDistortedBoundingBox operation to the graph |
<T extends Number> |
sampleDistortedBoundingBoxV2(Operand<T> imageSize,
Operand<Float> boundingBoxes,
Operand<Float> minObjectCovered,
SampleDistortedBoundingBoxV2.Options... options)
Adds an
SampleDistortedBoundingBoxV2 operation to the graph |
Save |
save(Operand<String> filename,
Operand<String> tensorNames,
Iterable<Operand<?>> data)
Adds an
Save operation to the graph |
SaveSlices |
saveSlices(Operand<String> filename,
Operand<String> tensorNames,
Operand<String> shapesAndSlices,
Iterable<Operand<?>> data)
Adds an
SaveSlices operation to the graph |
SaveV2 |
saveV2(Operand<String> prefix,
Operand<String> tensorNames,
Operand<String> shapeAndSlices,
Iterable<Operand<?>> tensors)
Adds an
SaveV2 operation to the graph |
<T extends Number> |
scalarSummary(Operand<String> tags,
Operand<T> values)
Adds an
ScalarSummary operation to the graph |
<T,U extends Number> |
scatterAdd(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterAdd.Options... options)
Adds an
ScatterAdd operation to the graph |
<T,U extends Number> |
scatterDiv(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterDiv.Options... options)
Adds an
ScatterDiv operation to the graph |
<T extends Number,U extends Number> |
scatterMax(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterMax.Options... options)
Adds an
ScatterMax operation to the graph |
<T extends Number,U extends Number> |
scatterMin(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterMin.Options... options)
Adds an
ScatterMin operation to the graph |
<T,U extends Number> |
scatterMul(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterMul.Options... options)
Adds an
ScatterMul operation to the graph |
<U,T extends Number> |
scatterNd(Operand<T> indices,
Operand<U> updates,
Operand<T> shape)
Adds an
ScatterNd operation to the graph |
<T,U extends Number> |
scatterNdAdd(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterNdAdd.Options... options)
Adds an
ScatterNdAdd operation to the graph |
<T,U extends Number> |
scatterNdNonAliasingAdd(Operand<T> input,
Operand<U> indices,
Operand<T> updates)
Adds an
ScatterNdNonAliasingAdd operation to the graph |
<T,U extends Number> |
scatterNdSub(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterNdSub.Options... options)
Adds an
ScatterNdSub operation to the graph |
<T,U extends Number> |
scatterNdUpdate(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterNdUpdate.Options... options)
Adds an
ScatterNdUpdate operation to the graph |
<T,U extends Number> |
scatterSub(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterSub.Options... options)
Adds an
ScatterSub operation to the graph |
<T,U extends Number> |
scatterUpdate(Operand<T> ref,
Operand<U> indices,
Operand<T> updates,
ScatterUpdate.Options... options)
Adds an
ScatterUpdate operation to the graph |
Scope |
scope()
Returns the current
scope of this API |
SdcaFprint |
sdcaFprint(Operand<String> input)
Adds an
SdcaFprint operation to the graph |
SdcaOptimizer |
sdcaOptimizer(Iterable<Operand<Long>> sparseExampleIndices,
Iterable<Operand<Long>> sparseFeatureIndices,
Iterable<Operand<Float>> sparseFeatureValues,
Iterable<Operand<Float>> denseFeatures,
Operand<Float> exampleWeights,
Operand<Float> exampleLabels,
Iterable<Operand<Long>> sparseIndices,
Iterable<Operand<Float>> sparseWeights,
Iterable<Operand<Float>> denseWeights,
Operand<Float> exampleStateData,
String lossType,
Float l1,
Float l2,
Long numLossPartitions,
Long numInnerIterations,
SdcaOptimizer.Options... options)
Adds an
SdcaOptimizer operation to the graph |
SdcaShrinkL1 |
sdcaShrinkL1(Iterable<Operand<Float>> weights,
Float l1,
Float l2)
Adds an
SdcaShrinkL1 operation to the graph |
<T extends Number,U extends Number> |
segmentMax(Operand<T> data,
Operand<U> segmentIds)
Adds an
SegmentMax operation to the graph |
<T,U extends Number> |
segmentMean(Operand<T> data,
Operand<U> segmentIds)
Adds an
SegmentMean operation to the graph |
<T extends Number,U extends Number> |
segmentMin(Operand<T> data,
Operand<U> segmentIds)
Adds an
SegmentMin operation to the graph |
<T,U extends Number> |
segmentProd(Operand<T> data,
Operand<U> segmentIds)
Adds an
SegmentProd operation to the graph |
<T,U extends Number> |
segmentSum(Operand<T> data,
Operand<U> segmentIds)
Adds an
SegmentSum operation to the graph |
<T> SelfAdjointEig<T> |
selfAdjointEig(Operand<T> input,
SelfAdjointEig.Options... options)
Adds an
SelfAdjointEig operation to the graph |
<T extends Number> |
selu(Operand<T> features)
Adds an
Selu operation to the graph |
SerializeIterator |
serializeIterator(Operand<?> resourceHandle)
Adds an
SerializeIterator operation to the graph |
<U,T> SerializeManySparse<U> |
serializeManySparse(Operand<Long> sparseIndices,
Operand<T> sparseValues,
Operand<Long> sparseShape,
Class<U> outType)
Adds an
SerializeManySparse operation to the graph |
<U,T> SerializeSparse<U> |
serializeSparse(Operand<Long> sparseIndices,
Operand<T> sparseValues,
Operand<Long> sparseShape,
Class<U> outType)
Adds an
SerializeSparse operation to the graph |
<T> SerializeTensor |
serializeTensor(Operand<T> tensor)
Adds an
SerializeTensor operation to the graph |
<T,U extends Number> |
setDiff1D(Operand<T> x,
Operand<T> y,
Class<U> outIdx)
Adds an
SetDiff1D operation to the graph |
<T> SetSize |
setSize(Operand<Long> setIndices,
Operand<T> setValues,
Operand<Long> setShape,
SetSize.Options... options)
Adds an
SetSize operation to the graph |
SetStatsAggregatorDataset |
setStatsAggregatorDataset(Operand<?> inputDataset,
Operand<?> statsAggregator,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
SetStatsAggregatorDataset operation to the graph |
<U extends Number,T> |
shape(Operand<T> input,
Class<U> outType)
Adds an
Shape operation to the graph |
<U extends Number,T> |
shapeN(Operand<T> input,
Class<U> outType)
Adds an
ShapeN operation to the graph |
ShardedFilename |
shardedFilename(Operand<String> basename,
Operand<Integer> shard,
Operand<Integer> numShards)
Adds an
ShardedFilename operation to the graph |
ShardedFilespec |
shardedFilespec(Operand<String> basename,
Operand<Integer> numShards)
Adds an
ShardedFilespec operation to the graph |
ShuffleAndRepeatDataset |
shuffleAndRepeatDataset(Operand<?> inputDataset,
Operand<Long> bufferSize,
Operand<Long> seed,
Operand<Long> seed2,
Operand<Long> count,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
ShuffleAndRepeatDataset operation to the graph |
ShuffleDataset |
shuffleDataset(Operand<?> inputDataset,
Operand<Long> bufferSize,
Operand<Long> seed,
Operand<Long> seed2,
List<Class<?>> outputTypes,
List<Shape> outputShapes,
ShuffleDataset.Options... options)
Adds an
ShuffleDataset operation to the graph |
<T> Sigmoid<T> |
sigmoid(Operand<T> x)
Adds an
Sigmoid operation to the graph |
<T> Sign<T> |
sign(Operand<T> x)
Adds an
Sign operation to the graph |
<T> Sin<T> |
sin(Operand<T> x)
Adds an
Sin operation to the graph |
<T> Sinh<T> |
sinh(Operand<T> x)
Adds an
Sinh operation to the graph |
<U extends Number,T> |
size(Operand<T> input,
Class<U> outType)
Adds an
Size operation to the graph |
SkipDataset |
skipDataset(Operand<?> inputDataset,
Operand<Long> count,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
SkipDataset operation to the graph |
Skipgram |
skipgram(String filename,
Long batchSize,
Skipgram.Options... options)
Adds an
Skipgram operation to the graph |
<T,U extends Number> |
slice(Operand<T> input,
Operand<U> begin,
Operand<U> size)
Adds an
Slice operation to the graph |
SlideDataset |
slideDataset(Operand<?> inputDataset,
Operand<Long> windowSize,
Operand<Long> stride,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
SlideDataset operation to the graph |
<T> Snapshot<T> |
snapshot(Operand<T> input)
Adds an
Snapshot operation to the graph |
<T extends Number> |
softmax(Operand<T> logits)
Adds an
Softmax operation to the graph |
<T extends Number> |
softmaxCrossEntropyWithLogits(Operand<T> features,
Operand<T> labels)
Adds an
SoftmaxCrossEntropyWithLogits operation to the graph |
<T extends Number> |
softplus(Operand<T> features)
Adds an
Softplus operation to the graph |
<T extends Number> |
softsign(Operand<T> features)
Adds an
Softsign operation to the graph |
<T,U extends Number> |
spaceToBatch(Operand<T> input,
Operand<U> paddings,
Long blockSize)
Adds an
SpaceToBatch operation to the graph |
<T,U extends Number,V extends Number> |
spaceToBatchND(Operand<T> input,
Operand<U> blockShape,
Operand<V> paddings)
Adds an
SpaceToBatchND operation to the graph |
<T> SpaceToDepth<T> |
spaceToDepth(Operand<T> input,
Long blockSize,
SpaceToDepth.Options... options)
Adds an
SpaceToDepth operation to the graph |
<T> SparseAccumulatorApplyGradient |
sparseAccumulatorApplyGradient(Operand<String> handle,
Operand<Long> localStep,
Operand<Long> gradientIndices,
Operand<T> gradientValues,
Operand<Long> gradientShape,
Boolean hasKnownShape)
Adds an
SparseAccumulatorApplyGradient operation to the graph |
<T> SparseAccumulatorTakeGradient<T> |
sparseAccumulatorTakeGradient(Operand<String> handle,
Operand<Integer> numRequired,
Class<T> dtype)
Adds an
SparseAccumulatorTakeGradient operation to the graph |
<T,U extends Number> |
sparseAdd(Operand<Long> aIndices,
Operand<T> aValues,
Operand<Long> aShape,
Operand<Long> bIndices,
Operand<T> bValues,
Operand<Long> bShape,
Operand<U> thresh)
Adds an
SparseAdd operation to the graph |
<T> SparseAddGrad<T> |
sparseAddGrad(Operand<T> backpropValGrad,
Operand<Long> aIndices,
Operand<Long> bIndices,
Operand<Long> sumIndices)
Adds an
SparseAddGrad operation to the graph |
<T,U extends Number> |
sparseApplyAdadelta(Operand<T> var,
Operand<T> accum,
Operand<T> accumUpdate,
Operand<T> lr,
Operand<T> rho,
Operand<T> epsilon,
Operand<T> grad,
Operand<U> indices,
SparseApplyAdadelta.Options... options)
Adds an
SparseApplyAdadelta operation to the graph |
<T,U extends Number> |
sparseApplyAdagrad(Operand<T> var,
Operand<T> accum,
Operand<T> lr,
Operand<T> grad,
Operand<U> indices,
SparseApplyAdagrad.Options... options)
Adds an
SparseApplyAdagrad operation to the graph |
<T,U extends Number> |
sparseApplyAdagradDA(Operand<T> var,
Operand<T> gradientAccumulator,
Operand<T> gradientSquaredAccumulator,
Operand<T> grad,
Operand<U> indices,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<Long> globalStep,
SparseApplyAdagradDA.Options... options)
Adds an
SparseApplyAdagradDA operation to the graph |
<T,U extends Number> |
sparseApplyCenteredRMSProp(Operand<T> var,
Operand<T> mg,
Operand<T> ms,
Operand<T> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
Operand<U> indices,
SparseApplyCenteredRMSProp.Options... options)
Adds an
SparseApplyCenteredRMSProp operation to the graph |
<T,U extends Number> |
sparseApplyFtrl(Operand<T> var,
Operand<T> accum,
Operand<T> linear,
Operand<T> grad,
Operand<U> indices,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> lrPower,
SparseApplyFtrl.Options... options)
Adds an
SparseApplyFtrl operation to the graph |
<T,U extends Number> |
sparseApplyFtrlV2(Operand<T> var,
Operand<T> accum,
Operand<T> linear,
Operand<T> grad,
Operand<U> indices,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> l2Shrinkage,
Operand<T> lrPower,
SparseApplyFtrlV2.Options... options)
Adds an
SparseApplyFtrlV2 operation to the graph |
<T,U extends Number> |
sparseApplyMomentum(Operand<T> var,
Operand<T> accum,
Operand<T> lr,
Operand<T> grad,
Operand<U> indices,
Operand<T> momentum,
SparseApplyMomentum.Options... options)
Adds an
SparseApplyMomentum operation to the graph |
<T,U extends Number> |
sparseApplyProximalAdagrad(Operand<T> var,
Operand<T> accum,
Operand<T> lr,
Operand<T> l1,
Operand<T> l2,
Operand<T> grad,
Operand<U> indices,
SparseApplyProximalAdagrad.Options... options)
Adds an
SparseApplyProximalAdagrad operation to the graph |
<T,U extends Number> |
sparseApplyProximalGradientDescent(Operand<T> var,
Operand<T> alpha,
Operand<T> l1,
Operand<T> l2,
Operand<T> grad,
Operand<U> indices,
SparseApplyProximalGradientDescent.Options... options)
Adds an
SparseApplyProximalGradientDescent operation to the graph |
<T,U extends Number> |
sparseApplyRMSProp(Operand<T> var,
Operand<T> ms,
Operand<T> mom,
Operand<T> lr,
Operand<T> rho,
Operand<T> momentum,
Operand<T> epsilon,
Operand<T> grad,
Operand<U> indices,
SparseApplyRMSProp.Options... options)
Adds an
SparseApplyRMSProp operation to the graph |
<T> SparseConcat<T> |
sparseConcat(Iterable<Operand<Long>> indices,
Operand<T> values,
Iterable<Operand<Long>> shapes,
Long concatDim)
Adds an
SparseConcat operation to the graph |
<T> SparseConditionalAccumulator |
sparseConditionalAccumulator(Class<T> dtype,
Shape shape,
SparseConditionalAccumulator.Options... options)
Adds an
SparseConditionalAccumulator operation to the graph |
<T,U> SparseCross<T> |
sparseCross(Iterable<Operand<Long>> indices,
Iterable<Operand<?>> values,
Iterable<Operand<Long>> shapes,
Iterable<Operand<?>> denseInputs,
Boolean hashedOutput,
Long numBuckets,
Long hashKey,
Class<T> outType,
Class<U> internalType)
Adds an
SparseCross operation to the graph |
<T> SparseDenseCwiseAdd<T> |
sparseDenseCwiseAdd(Operand<Long> spIndices,
Operand<T> spValues,
Operand<Long> spShape,
Operand<T> dense)
Adds an
SparseDenseCwiseAdd operation to the graph |
<T> SparseDenseCwiseDiv<T> |
sparseDenseCwiseDiv(Operand<Long> spIndices,
Operand<T> spValues,
Operand<Long> spShape,
Operand<T> dense)
Adds an
SparseDenseCwiseDiv operation to the graph |
<T> SparseDenseCwiseMul<T> |
sparseDenseCwiseMul(Operand<Long> spIndices,
Operand<T> spValues,
Operand<Long> spShape,
Operand<T> dense)
Adds an
SparseDenseCwiseMul operation to the graph |
<T> SparseFillEmptyRows<T> |
sparseFillEmptyRows(Operand<Long> indices,
Operand<T> values,
Operand<Long> denseShape,
Operand<T> defaultValue)
Adds an
SparseFillEmptyRows operation to the graph |
<T> SparseFillEmptyRowsGrad<T> |
sparseFillEmptyRowsGrad(Operand<Long> reverseIndexMap,
Operand<T> gradValues)
Adds an
SparseFillEmptyRowsGrad operation to the graph |
<T extends Number,U extends Number> |
sparseMatMul(Operand<T> a,
Operand<U> b,
SparseMatMul.Options... options)
Adds an
SparseMatMul operation to the graph |
<T extends Number> |
sparseReduceMax(Operand<Long> inputIndices,
Operand<T> inputValues,
Operand<Long> inputShape,
Operand<Integer> reductionAxes,
SparseReduceMax.Options... options)
Adds an
SparseReduceMax operation to the graph |
<T extends Number> |
sparseReduceMaxSparse(Operand<Long> inputIndices,
Operand<T> inputValues,
Operand<Long> inputShape,
Operand<Integer> reductionAxes,
SparseReduceMaxSparse.Options... options)
Adds an
SparseReduceMaxSparse operation to the graph |
<T> SparseReduceSum<T> |
sparseReduceSum(Operand<Long> inputIndices,
Operand<T> inputValues,
Operand<Long> inputShape,
Operand<Integer> reductionAxes,
SparseReduceSum.Options... options)
Adds an
SparseReduceSum operation to the graph |
<T> SparseReduceSumSparse<T> |
sparseReduceSumSparse(Operand<Long> inputIndices,
Operand<T> inputValues,
Operand<Long> inputShape,
Operand<Integer> reductionAxes,
SparseReduceSumSparse.Options... options)
Adds an
SparseReduceSumSparse operation to the graph |
<T> SparseReorder<T> |
sparseReorder(Operand<Long> inputIndices,
Operand<T> inputValues,
Operand<Long> inputShape)
Adds an
SparseReorder operation to the graph |
SparseReshape |
sparseReshape(Operand<Long> inputIndices,
Operand<Long> inputShape,
Operand<Long> newShape)
Adds an
SparseReshape operation to the graph |
<T extends Number,U extends Number> |
sparseSegmentMean(Operand<T> data,
Operand<U> indices,
Operand<Integer> segmentIds)
Adds an
SparseSegmentMean operation to the graph |
<T extends Number,U extends Number> |
sparseSegmentMeanGrad(Operand<T> grad,
Operand<U> indices,
Operand<Integer> segmentIds,
Operand<Integer> outputDim0)
Adds an
SparseSegmentMeanGrad operation to the graph |
<T extends Number,U extends Number,V extends Number> |
sparseSegmentMeanWithNumSegments(Operand<T> data,
Operand<U> indices,
Operand<Integer> segmentIds,
Operand<V> numSegments)
Adds an
SparseSegmentMeanWithNumSegments operation to the graph |
<T extends Number,U extends Number> |
sparseSegmentSqrtN(Operand<T> data,
Operand<U> indices,
Operand<Integer> segmentIds)
Adds an
SparseSegmentSqrtN operation to the graph |
<T extends Number,U extends Number> |
sparseSegmentSqrtNGrad(Operand<T> grad,
Operand<U> indices,
Operand<Integer> segmentIds,
Operand<Integer> outputDim0)
Adds an
SparseSegmentSqrtNGrad operation to the graph |
<T extends Number,U extends Number,V extends Number> |
sparseSegmentSqrtNWithNumSegments(Operand<T> data,
Operand<U> indices,
Operand<Integer> segmentIds,
Operand<V> numSegments)
Adds an
SparseSegmentSqrtNWithNumSegments operation to the graph |
<T extends Number,U extends Number> |
sparseSegmentSum(Operand<T> data,
Operand<U> indices,
Operand<Integer> segmentIds)
Adds an
SparseSegmentSum operation to the graph |
<T extends Number,U extends Number,V extends Number> |
sparseSegmentSumWithNumSegments(Operand<T> data,
Operand<U> indices,
Operand<Integer> segmentIds,
Operand<V> numSegments)
Adds an
SparseSegmentSumWithNumSegments operation to the graph |
<T> SparseSlice<T> |
sparseSlice(Operand<Long> indices,
Operand<T> values,
Operand<Long> shape,
Operand<Long> start,
Operand<Long> size)
Adds an
SparseSlice operation to the graph |
<T> SparseSliceGrad<T> |
sparseSliceGrad(Operand<T> backpropValGrad,
Operand<Long> inputIndices,
Operand<Long> inputStart,
Operand<Long> outputIndices)
Adds an
SparseSliceGrad operation to the graph |
<T extends Number> |
sparseSoftmax(Operand<Long> spIndices,
Operand<T> spValues,
Operand<Long> spShape)
Adds an
SparseSoftmax operation to the graph |
<T extends Number,U extends Number> |
sparseSoftmaxCrossEntropyWithLogits(Operand<T> features,
Operand<U> labels)
Adds an
SparseSoftmaxCrossEntropyWithLogits operation to the graph |
<T extends Number> |
sparseSparseMaximum(Operand<Long> aIndices,
Operand<T> aValues,
Operand<Long> aShape,
Operand<Long> bIndices,
Operand<T> bValues,
Operand<Long> bShape)
Adds an
SparseSparseMaximum operation to the graph |
<T> SparseSparseMinimum<T> |
sparseSparseMinimum(Operand<Long> aIndices,
Operand<T> aValues,
Operand<Long> aShape,
Operand<Long> bIndices,
Operand<T> bValues,
Operand<Long> bShape)
Adds an
SparseSparseMinimum operation to the graph |
<T> SparseSplit<T> |
sparseSplit(Operand<Long> splitDim,
Operand<Long> indices,
Operand<T> values,
Operand<Long> shape,
Long numSplit)
Adds an
SparseSplit operation to the graph |
<U,T extends Number> |
sparseTensorDenseAdd(Operand<T> aIndices,
Operand<U> aValues,
Operand<T> aShape,
Operand<U> b)
Adds an
SparseTensorDenseAdd operation to the graph |
<U,T extends Number> |
sparseTensorDenseMatMul(Operand<T> aIndices,
Operand<U> aValues,
Operand<Long> aShape,
Operand<U> b,
SparseTensorDenseMatMul.Options... options)
Adds an
SparseTensorDenseMatMul operation to the graph |
<T> SparseTensorSliceDataset |
sparseTensorSliceDataset(Operand<Long> indices,
Operand<T> values,
Operand<Long> denseShape)
Adds an
SparseTensorSliceDataset operation to the graph |
<U,T extends Number> |
sparseToDense(Operand<T> sparseIndices,
Operand<T> outputShape,
Operand<U> sparseValues,
Operand<U> defaultValue,
SparseToDense.Options... options)
Adds an
SparseToDense operation to the graph |
<T> SparseToSparseSetOperation<T> |
sparseToSparseSetOperation(Operand<Long> set1Indices,
Operand<T> set1Values,
Operand<Long> set1Shape,
Operand<Long> set2Indices,
Operand<T> set2Values,
Operand<Long> set2Shape,
String setOperation,
SparseToSparseSetOperation.Options... options)
Adds an
SparseToSparseSetOperation operation to the graph |
<T> Split<T> |
split(Operand<Integer> axis,
Operand<T> value,
Long numSplit)
Adds an
Split operation to the graph |
<T,U extends Number> |
splitV(Operand<T> value,
Operand<U> sizeSplits,
Operand<Integer> axis,
Long numSplit)
Adds an
SplitV operation to the graph |
SqlDataset |
sqlDataset(Operand<String> driverName,
Operand<String> dataSourceName,
Operand<String> query,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
SqlDataset operation to the graph |
<T> Sqrt<T> |
sqrt(Operand<T> x)
Adds an
Sqrt operation to the graph |
<T> Square<T> |
square(Operand<T> x)
Adds an
Square operation to the graph |
<T> SquaredDifference<T> |
squaredDifference(Operand<T> x,
Operand<T> y)
Adds an
SquaredDifference operation to the graph |
<T> Squeeze<T> |
squeeze(Operand<T> input,
Squeeze.Options... options)
Adds an
Squeeze operation to the graph |
<T> Stack<T> |
stack(Operand<T> values,
Stack.Options... options)
Adds an
Stack operation to the graph |
Stage |
stage(Iterable<Operand<?>> values,
Stage.Options... options)
Adds an
Stage operation to the graph |
StageClear |
stageClear(List<Class<?>> dtypes,
StageClear.Options... options)
Adds an
StageClear operation to the graph |
StagePeek |
stagePeek(Operand<Integer> index,
List<Class<?>> dtypes,
StagePeek.Options... options)
Adds an
StagePeek operation to the graph |
StageSize |
stageSize(List<Class<?>> dtypes,
StageSize.Options... options)
Adds an
StageSize operation to the graph |
<V extends Number,T extends Number,U extends Number> |
statelessMultinomial(Operand<T> logits,
Operand<Integer> numSamples,
Operand<U> seed,
Class<V> outputDtype)
Adds an
StatelessMultinomial operation to the graph |
<V extends Number,T extends Number,U extends Number> |
statelessRandomNormal(Operand<T> shape,
Operand<U> seed,
Class<V> dtype)
Adds an
StatelessRandomNormal operation to the graph |
<V extends Number,T extends Number,U extends Number> |
statelessRandomUniform(Operand<T> shape,
Operand<U> seed,
Class<V> dtype)
Adds an
StatelessRandomUniform operation to the graph |
<V extends Number,T extends Number,U extends Number> |
statelessTruncatedNormal(Operand<T> shape,
Operand<U> seed,
Class<V> dtype)
Adds an
StatelessTruncatedNormal operation to the graph |
StatsAggregatorHandle |
statsAggregatorHandle(StatsAggregatorHandle.Options... options)
Adds an
StatsAggregatorHandle operation to the graph |
StatsAggregatorSummary |
statsAggregatorSummary(Operand<?> iterator)
Adds an
StatsAggregatorSummary operation to the graph |
<T> StopGradient<T> |
stopGradient(Operand<T> input)
Adds an
StopGradient operation to the graph |
<T,U extends Number> |
stridedSlice(Operand<T> input,
Operand<U> begin,
Operand<U> end,
Operand<U> strides,
StridedSlice.Options... options)
Adds an
StridedSlice operation to the graph |
<T,U extends Number> |
stridedSliceAssign(Operand<T> ref,
Operand<U> begin,
Operand<U> end,
Operand<U> strides,
Operand<T> value,
StridedSliceAssign.Options... options)
Adds an
StridedSliceAssign operation to the graph |
<U,T extends Number> |
stridedSliceGrad(Operand<T> shape,
Operand<T> begin,
Operand<T> end,
Operand<T> strides,
Operand<U> dy,
StridedSliceGrad.Options... options)
Adds an
StridedSliceGrad operation to the graph |
StringJoin |
stringJoin(Iterable<Operand<String>> inputs,
StringJoin.Options... options)
Adds an
StringJoin operation to the graph |
StringSplit |
stringSplit(Operand<String> input,
Operand<String> delimiter,
StringSplit.Options... options)
Adds an
StringSplit operation to the graph |
StringSplitV2 |
stringSplitV2(Operand<String> input,
Operand<String> sep,
StringSplitV2.Options... options)
Adds an
StringSplitV2 operation to the graph |
StringStrip |
stringStrip(Operand<String> input)
Adds an
StringStrip operation to the graph |
StringToHashBucket |
stringToHashBucket(Operand<String> stringTensor,
Long numBuckets)
Adds an
StringToHashBucket operation to the graph |
StringToHashBucketFast |
stringToHashBucketFast(Operand<String> input,
Long numBuckets)
Adds an
StringToHashBucketFast operation to the graph |
StringToHashBucketStrong |
stringToHashBucketStrong(Operand<String> input,
Long numBuckets,
List<Long> key)
Adds an
StringToHashBucketStrong operation to the graph |
<T extends Number> |
stringToNumber(Operand<String> stringTensor,
Class<T> outType)
Adds an
StringToNumber operation to the graph |
<T> Sub<T> |
sub(Operand<T> x,
Operand<T> y)
Adds an
Sub operation to the graph |
<T extends Number> |
substr(Operand<String> input,
Operand<T> pos,
Operand<T> len)
Adds an
Substr operation to the graph |
<T> Subtract<T> |
subtract(Operand<T> x,
Operand<T> y)
Adds an
Subtract operation to the graph |
<T,U extends Number> |
sum(Operand<T> input,
Operand<U> axis,
Sum.Options... options)
Adds an
Sum operation to the graph |
<T> Svd<T> |
svd(Operand<T> input,
Svd.Options... options)
Adds an
Svd operation to the graph |
TakeDataset |
takeDataset(Operand<?> inputDataset,
Operand<Long> count,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
TakeDataset operation to the graph |
<T> TakeManySparseFromTensorsMap<T> |
takeManySparseFromTensorsMap(Operand<Long> sparseHandles,
Class<T> dtype,
TakeManySparseFromTensorsMap.Options... options)
Adds an
TakeManySparseFromTensorsMap operation to the graph |
<T> Tan<T> |
tan(Operand<T> x)
Adds an
Tan operation to the graph |
<T> Tanh<T> |
tanh(Operand<T> x)
Adds an
Tanh operation to the graph |
<T> TemporaryVariable<T> |
temporaryVariable(Shape shape,
Class<T> dtype,
TemporaryVariable.Options... options)
Adds an
TemporaryVariable operation to the graph |
<T> TensorArray |
tensorArray(Operand<Integer> size,
Class<T> dtype,
TensorArray.Options... options)
Adds an
TensorArray operation to the graph |
TensorArrayClose |
tensorArrayClose(Operand<?> handle)
Adds an
TensorArrayClose operation to the graph |
<T> TensorArrayConcat<T> |
tensorArrayConcat(Operand<?> handle,
Operand<Float> flowIn,
Class<T> dtype,
TensorArrayConcat.Options... options)
Adds an
TensorArrayConcat operation to the graph |
<T> TensorArrayGather<T> |
tensorArrayGather(Operand<?> handle,
Operand<Integer> indices,
Operand<Float> flowIn,
Class<T> dtype,
TensorArrayGather.Options... options)
Adds an
TensorArrayGather operation to the graph |
TensorArrayGrad |
tensorArrayGrad(Operand<?> handle,
Operand<Float> flowIn,
String source)
Adds an
TensorArrayGrad operation to the graph |
TensorArrayGradWithShape |
tensorArrayGradWithShape(Operand<?> handle,
Operand<Float> flowIn,
Operand<Integer> shapeToPrepend,
String source)
Adds an
TensorArrayGradWithShape operation to the graph |
<T> TensorArrayPack<T> |
tensorArrayPack(Operand<String> handle,
Operand<Float> flowIn,
Class<T> dtype,
TensorArrayPack.Options... options)
Adds an
TensorArrayPack operation to the graph |
<T> TensorArrayRead<T> |
tensorArrayRead(Operand<?> handle,
Operand<Integer> index,
Operand<Float> flowIn,
Class<T> dtype)
Adds an
TensorArrayRead operation to the graph |
<T> TensorArrayScatter |
tensorArrayScatter(Operand<?> handle,
Operand<Integer> indices,
Operand<T> value,
Operand<Float> flowIn)
Adds an
TensorArrayScatter operation to the graph |
TensorArraySize |
tensorArraySize(Operand<?> handle,
Operand<Float> flowIn)
Adds an
TensorArraySize operation to the graph |
<T> TensorArraySplit |
tensorArraySplit(Operand<?> handle,
Operand<T> value,
Operand<Long> lengths,
Operand<Float> flowIn)
Adds an
TensorArraySplit operation to the graph |
<T> TensorArrayUnpack |
tensorArrayUnpack(Operand<String> handle,
Operand<T> value,
Operand<Float> flowIn)
Adds an
TensorArrayUnpack operation to the graph |
<T> TensorArrayWrite |
tensorArrayWrite(Operand<?> handle,
Operand<Integer> index,
Operand<T> value,
Operand<Float> flowIn)
Adds an
TensorArrayWrite operation to the graph |
TensorDataset |
tensorDataset(Iterable<Operand<?>> components,
List<Shape> outputShapes)
Adds an
TensorDataset operation to the graph |
<T> TensorListConcatLists |
tensorListConcatLists(Operand<?> inputA,
Operand<?> inputB,
Class<T> elementDtype)
Adds an
TensorListConcatLists operation to the graph |
<T extends Number> |
tensorListElementShape(Operand<?> inputHandle,
Class<T> shapeType)
Adds an
TensorListElementShape operation to the graph |
<T,U extends Number> |
tensorListFromTensor(Operand<T> tensor,
Operand<U> elementShape)
Adds an
TensorListFromTensor operation to the graph |
<T> TensorListGetItem<T> |
tensorListGetItem(Operand<?> inputHandle,
Operand<Integer> index,
Class<T> elementDtype)
Adds an
TensorListGetItem operation to the graph |
TensorListLength |
tensorListLength(Operand<?> inputHandle)
Adds an
TensorListLength operation to the graph |
<T> TensorListPopBack<T> |
tensorListPopBack(Operand<?> inputHandle,
Class<T> elementDtype)
Adds an
TensorListPopBack operation to the graph |
<T> TensorListPushBack |
tensorListPushBack(Operand<?> inputHandle,
Operand<T> tensor)
Adds an
TensorListPushBack operation to the graph |
<T> TensorListPushBackBatch |
tensorListPushBackBatch(Operand<?> inputHandles,
Operand<T> tensor)
Adds an
TensorListPushBackBatch operation to the graph |
<T extends Number,U> |
tensorListReserve(Operand<T> elementShape,
Operand<Integer> numElements,
Class<U> elementDtype)
Adds an
TensorListReserve operation to the graph |
<T> TensorListSetItem |
tensorListSetItem(Operand<?> inputHandle,
Operand<Integer> index,
Operand<T> item)
Adds an
TensorListSetItem operation to the graph |
<T> TensorListStack<T> |
tensorListStack(Operand<?> inputHandle,
Class<T> elementDtype,
TensorListStack.Options... options)
Adds an
TensorListStack operation to the graph |
TensorSliceDataset |
tensorSliceDataset(Iterable<Operand<?>> components,
List<Shape> outputShapes)
Adds an
TensorSliceDataset operation to the graph |
<T> TensorSummary |
tensorSummary(Operand<T> tensor,
TensorSummary.Options... options)
Adds an
TensorSummary operation to the graph |
<T> TensorSummaryV2 |
tensorSummaryV2(Operand<String> tag,
Operand<T> tensor,
Operand<String> serializedSummaryMetadata)
Adds an
TensorSummaryV2 operation to the graph |
TextLineDataset |
textLineDataset(Operand<String> filenames,
Operand<String> compressionType,
Operand<Long> bufferSize)
Adds an
TextLineDataset operation to the graph |
TextLineReader |
textLineReader(TextLineReader.Options... options)
Adds an
TextLineReader operation to the graph |
TFRecordDataset |
tFRecordDataset(Operand<String> filenames,
Operand<String> compressionType,
Operand<Long> bufferSize)
Adds an
TFRecordDataset operation to the graph |
TFRecordReader |
tFRecordReader(TFRecordReader.Options... options)
Adds an
TFRecordReader operation to the graph |
<T,U extends Number> |
tile(Operand<T> input,
Operand<U> multiples)
Adds an
Tile operation to the graph |
<T> TileGrad<T> |
tileGrad(Operand<T> input,
Operand<Integer> multiples)
Adds an
TileGrad operation to the graph |
Timestamp |
timestamp()
Adds an
Timestamp operation to the graph |
<T extends Number> |
topK(Operand<T> input,
Operand<Integer> k,
TopK.Options... options)
Adds an
TopK operation to the graph |
<T,U extends Number> |
transpose(Operand<T> x,
Operand<U> perm)
Adds an
Transpose operation to the graph |
<T> TruncateDiv<T> |
truncateDiv(Operand<T> x,
Operand<T> y)
Adds an
TruncateDiv operation to the graph |
<U extends Number,T extends Number> |
truncatedNormal(Operand<T> shape,
Class<U> dtype,
TruncatedNormal.Options... options)
Adds an
TruncatedNormal operation to the graph |
<T extends Number> |
truncateMod(Operand<T> x,
Operand<T> y)
Adds an
TruncateMod operation to the graph |
TryRpc |
tryRpc(Operand<String> address,
Operand<String> method,
Operand<String> request,
TryRpc.Options... options)
Adds an
TryRpc operation to the graph |
<T> Unbatch<T> |
unbatch(Operand<T> batchedTensor,
Operand<Long> batchIndex,
Operand<Long> id,
Long timeoutMicros,
Unbatch.Options... options)
Adds an
Unbatch operation to the graph |
UnbatchDataset |
unbatchDataset(Operand<?> inputDataset,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
UnbatchDataset operation to the graph |
<T> UnbatchGrad<T> |
unbatchGrad(Operand<T> originalInput,
Operand<Long> batchIndex,
Operand<T> grad,
Operand<Long> id,
UnbatchGrad.Options... options)
Adds an
UnbatchGrad operation to the graph |
UniformCandidateSampler |
uniformCandidateSampler(Operand<Long> trueClasses,
Long numTrue,
Long numSampled,
Boolean unique,
Long rangeMax,
UniformCandidateSampler.Options... options)
Adds an
UniformCandidateSampler operation to the graph |
<T,U extends Number> |
unique(Operand<T> x,
Class<U> outIdx)
Adds an
Unique operation to the graph |
<T,V extends Number,U extends Number> |
uniqueV2(Operand<T> x,
Operand<U> axis,
Class<V> outIdx)
Adds an
UniqueV2 operation to the graph |
<T,U extends Number> |
uniqueWithCounts(Operand<T> x,
Class<U> outIdx)
Adds an
UniqueWithCounts operation to the graph |
<T,V extends Number,U extends Number> |
uniqueWithCountsV2(Operand<T> x,
Operand<U> axis,
Class<V> outIdx)
Adds an
UniqueWithCountsV2 operation to the graph |
<T extends Number> |
unravelIndex(Operand<T> indices,
Operand<T> dims)
Adds an
UnravelIndex operation to the graph |
<T extends Number,U extends Number,V extends Number> |
unsortedSegmentMax(Operand<T> data,
Operand<U> segmentIds,
Operand<V> numSegments)
Adds an
UnsortedSegmentMax operation to the graph |
<T extends Number,U extends Number,V extends Number> |
unsortedSegmentMin(Operand<T> data,
Operand<U> segmentIds,
Operand<V> numSegments)
Adds an
UnsortedSegmentMin operation to the graph |
<T,U extends Number,V extends Number> |
unsortedSegmentProd(Operand<T> data,
Operand<U> segmentIds,
Operand<V> numSegments)
Adds an
UnsortedSegmentProd operation to the graph |
<T,U extends Number,V extends Number> |
unsortedSegmentSum(Operand<T> data,
Operand<U> segmentIds,
Operand<V> numSegments)
Adds an
UnsortedSegmentSum operation to the graph |
<T> Unstack<T> |
unstack(Operand<T> value,
Long num,
Unstack.Options... options)
Adds an
Unstack operation to the graph |
Unstage |
unstage(List<Class<?>> dtypes,
Unstage.Options... options)
Adds an
Unstage operation to the graph |
<T> VarHandleOp |
varHandleOp(Class<T> dtype,
Shape shape,
VarHandleOp.Options... options)
Adds an
VarHandleOp operation to the graph |
<T> Variable<T> |
variable(Shape shape,
Class<T> dtype,
Variable.Options... options)
Adds an
Variable operation to the graph |
<T extends Number> |
variableShape(Operand<?> input,
Class<T> outType)
Adds an
VariableShape operation to the graph |
VarIsInitializedOp |
varIsInitializedOp(Operand<?> resource)
Adds an
VarIsInitializedOp operation to the graph |
<T> Where |
where(Operand<T> condition)
Adds an
Where operation to the graph |
<T> Where3<T> |
where3(Operand<Boolean> condition,
Operand<T> x,
Operand<T> y)
Adds an
Where3 operation to the graph |
WholeFileReader |
wholeFileReader(WholeFileReader.Options... options)
Adds an
WholeFileReader operation to the graph |
Ops |
withName(String opName)
Returns an API that uses the provided name for an op.
|
Ops |
withSubScope(String childScopeName)
Returns an API that adds operations to the graph with the provided name prefix.
|
WriteFile |
writeFile(Operand<String> filename,
Operand<String> contents)
Adds an
WriteFile operation to the graph |
<T> ZerosLike<T> |
zerosLike(Operand<T> x)
Adds an
ZerosLike operation to the graph |
<T extends Number> |
zeta(Operand<T> x,
Operand<T> q)
Adds an
Zeta operation to the graph |
ZipDataset |
zipDataset(Iterable<Operand<?>> inputDatasets,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Adds an
ZipDataset operation to the graph |
public QueueSize queueSize(Operand<?> handle)
QueueSize
operation to the graphhandle
- The handle to a queue.org.tensorflow.op.core.QueueSize}
public <T,U extends Number> Tile<T> tile(Operand<T> input, Operand<U> multiples)
Tile
operation to the graphinput
- 1-D or higher.multiples
- 1-D. Length must be the same as the number of dimensions in `input`org.tensorflow.op.core.Tile}
public <U,T extends Number> SparseTensorDenseMatMul<U> sparseTensorDenseMatMul(Operand<T> aIndices, Operand<U> aValues, Operand<Long> aShape, Operand<U> b, SparseTensorDenseMatMul.Options... options)
SparseTensorDenseMatMul
operation to the graphaIndices
- 2-D. The `indices` of the `SparseTensor`, size `[nnz, 2]` Matrix.aValues
- 1-D. The `values` of the `SparseTensor`, size `[nnz]` Vector.aShape
- 1-D. The `shape` of the `SparseTensor`, size `[2]` Vector.b
- 2-D. A dense Matrix.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseTensorDenseMatMul}
public <T> BatchMatrixDiag<T> batchMatrixDiag(Operand<T> diagonal)
BatchMatrixDiag
operation to the graphdiagonal
- org.tensorflow.op.core.BatchMatrixDiag}
public EncodeProto encodeProto(Operand<Integer> sizes, Iterable<Operand<?>> values, List<String> fieldNames, String messageType, EncodeProto.Options... options)
EncodeProto
operation to the graphsizes
- Tensor of int32 with shape `[batch_shape, len(field_names)]`.values
- List of tensors containing values for the corresponding field.fieldNames
- List of strings containing proto field names.messageType
- Name of the proto message type to decode.options
- carries optional attributes valuesorg.tensorflow.op.core.EncodeProto}
public <U extends Number,T extends Number> Conv3DBackpropInputV2<U> conv3DBackpropInputV2(Operand<T> inputSizes, Operand<U> filter, Operand<U> outBackprop, List<Long> strides, String padding, Conv3DBackpropInputV2.Options... options)
Conv3DBackpropInputV2
operation to the graphinputSizes
- An integer vector representing the tensor shape of `input`,filter
- Shape `[depth, rows, cols, in_channels, out_channels]`.outBackprop
- Backprop signal of shape `[batch, out_depth, out_rows, out_cols,strides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv3DBackpropInputV2}
public IteratorGetNext iteratorGetNext(Operand<?> iterator, List<Class<?>> outputTypes, List<Shape> outputShapes)
IteratorGetNext
operation to the graphiterator
- outputTypes
- outputShapes
- org.tensorflow.op.core.IteratorGetNext}
public <T extends Number,U extends Number> SparseSegmentMean<T> sparseSegmentMean(Operand<T> data, Operand<U> indices, Operand<Integer> segmentIds)
SparseSegmentMean
operation to the graphdata
- indices
- A 1-D tensor. Has same rank as `segment_ids`.segmentIds
- A 1-D tensor. Values should be sorted and can be repeated.org.tensorflow.op.core.SparseSegmentMean}
public LMDBReader lMDBReader(LMDBReader.Options... options)
LMDBReader
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.LMDBReader}
public <V extends Number,T,U extends Number> ArgMin<V> argMin(Operand<T> input, Operand<U> dimension, Class<V> outputType)
ArgMin
operation to the graphinput
- dimension
- int32 or int64, must be in the range `[-rank(input), rank(input))`.outputType
- org.tensorflow.op.core.ArgMin}
public <T> ApplyFtrlV2<T> applyFtrlV2(Operand<T> var, Operand<T> accum, Operand<T> linear, Operand<T> grad, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> l2Shrinkage, Operand<T> lrPower, ApplyFtrlV2.Options... options)
ApplyFtrlV2
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.lr
- Scaling factor. Must be a scalar.l1
- L1 regulariation. Must be a scalar.l2
- L2 shrinkage regulariation. Must be a scalar.l2Shrinkage
- lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyFtrlV2}
public IRFFT3D iRFFT3D(Operand<?> input, Operand<Integer> fftLength)
IRFFT3D
operation to the graphinput
- A complex64 tensor.fftLength
- An int32 tensor of shape [3]. The FFT length for each dimension.org.tensorflow.op.core.IRFFT3D}
public <T> TensorListGetItem<T> tensorListGetItem(Operand<?> inputHandle, Operand<Integer> index, Class<T> elementDtype)
TensorListGetItem
operation to the graphinputHandle
- index
- elementDtype
- org.tensorflow.op.core.TensorListGetItem}
public <T extends Number> AvgPool<T> avgPool(Operand<T> value, List<Long> ksize, List<Long> strides, String padding, AvgPool.Options... options)
AvgPool
operation to the graphvalue
- 4-D with shape `[batch, height, width, channels]`.ksize
- The size of the sliding window for each dimension of `value`.strides
- The stride of the sliding window for each dimension of `value`.padding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.AvgPool}
public QueueClose queueClose(Operand<?> handle, QueueClose.Options... options)
QueueClose
operation to the graphhandle
- The handle to a queue.options
- carries optional attributes valuesorg.tensorflow.op.core.QueueClose}
public <T> SquaredDifference<T> squaredDifference(Operand<T> x, Operand<T> y)
SquaredDifference
operation to the graphx
- y
- org.tensorflow.op.core.SquaredDifference}
public <T> SparseTensorSliceDataset sparseTensorSliceDataset(Operand<Long> indices, Operand<T> values, Operand<Long> denseShape)
SparseTensorSliceDataset
operation to the graphindices
- values
- denseShape
- org.tensorflow.op.core.SparseTensorSliceDataset}
public <T extends Number> Minimum<T> minimum(Operand<T> x, Operand<T> y)
Minimum
operation to the graphx
- y
- org.tensorflow.op.core.Minimum}
public Barrier barrier(List<Class<?>> componentTypes, Barrier.Options... options)
Barrier
operation to the graphcomponentTypes
- The type of each component in a value.options
- carries optional attributes valuesorg.tensorflow.op.core.Barrier}
public <T> ApplyProximalAdagrad<T> applyProximalAdagrad(Operand<T> var, Operand<T> accum, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> grad, ApplyProximalAdagrad.Options... options)
ApplyProximalAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyProximalAdagrad}
public <T> DiagPart<T> diagPart(Operand<T> input)
DiagPart
operation to the graphinput
- Rank k tensor where k is even and not zero.org.tensorflow.op.core.DiagPart}
public <U extends Number,T extends Number> ParameterizedTruncatedNormal<U> parameterizedTruncatedNormal(Operand<T> shape, Operand<U> means, Operand<U> stdevs, Operand<U> minvals, Operand<U> maxvals, ParameterizedTruncatedNormal.Options... options)
ParameterizedTruncatedNormal
operation to the graphshape
- The shape of the output tensor. Batches are indexed by the 0th dimension.means
- The mean parameter of each batch.stdevs
- The standard deviation parameter of each batch. Must be greater than 0.minvals
- The minimum cutoff. May be -infinity.maxvals
- The maximum cutoff. May be +infinity, and must be more than the minvaloptions
- carries optional attributes valuesorg.tensorflow.op.core.ParameterizedTruncatedNormal}
public <T extends Number> Dilation2DBackpropFilter<T> dilation2DBackpropFilter(Operand<T> input, Operand<T> filter, Operand<T> outBackprop, List<Long> strides, List<Long> rates, String padding)
Dilation2DBackpropFilter
operation to the graphinput
- 4-D with shape `[batch, in_height, in_width, depth]`.filter
- 3-D with shape `[filter_height, filter_width, depth]`.outBackprop
- 4-D with shape `[batch, out_height, out_width, depth]`.strides
- 1-D of length 4. The stride of the sliding window for each dimension ofrates
- 1-D of length 4. The input stride for atrous morphological dilation.padding
- The type of padding algorithm to use.org.tensorflow.op.core.Dilation2DBackpropFilter}
public StringStrip stringStrip(Operand<String> input)
StringStrip
operation to the graphinput
- A string `Tensor` of any shape.org.tensorflow.op.core.StringStrip}
public <T> AddV2<T> addV2(Operand<T> x, Operand<T> y)
AddV2
operation to the graphx
- y
- org.tensorflow.op.core.AddV2}
public <T> ParallelDynamicStitch<T> parallelDynamicStitch(Iterable<Operand<Integer>> indices, Operand<T> data)
ParallelDynamicStitch
operation to the graphindices
- data
- org.tensorflow.op.core.ParallelDynamicStitch}
public <T> QuantizedMaxPool<T> quantizedMaxPool(Operand<T> input, Operand<Float> minInput, Operand<Float> maxInput, List<Long> ksize, List<Long> strides, String padding)
QuantizedMaxPool
operation to the graphinput
- The 4D (batch x rows x cols x depth) Tensor to MaxReduce over.minInput
- The float value that the lowest quantized input value represents.maxInput
- The float value that the highest quantized input value represents.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of the inputpadding
- The type of padding algorithm to use.org.tensorflow.op.core.QuantizedMaxPool}
public Constant<Double> constant(long[] shape, DoubleBuffer data)
Constant
operation to the graphshape
- the tensor shape.data
- a buffer containing the tensor data.IllegalArgumentException
- If the tensor shape is not compatible with the bufferorg.tensorflow.op.core.Constant}
public MergeV2Checkpoints mergeV2Checkpoints(Operand<String> checkpointPrefixes, Operand<String> destinationPrefix, MergeV2Checkpoints.Options... options)
MergeV2Checkpoints
operation to the graphcheckpointPrefixes
- prefixes of V2 checkpoints to merge.destinationPrefix
- scalar. The desired final prefix. Allowed to be the sameoptions
- carries optional attributes valuesorg.tensorflow.op.core.MergeV2Checkpoints}
public <T extends Number> Conv3DBackpropFilter<T> conv3DBackpropFilter(Operand<T> input, Operand<T> filter, Operand<T> outBackprop, List<Long> strides, String padding, Conv3DBackpropFilter.Options... options)
Conv3DBackpropFilter
operation to the graphinput
- Shape `[batch, depth, rows, cols, in_channels]`.filter
- Shape `[depth, rows, cols, in_channels, out_channels]`.outBackprop
- Backprop signal of shape `[batch, out_depth, out_rows, out_cols,strides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv3DBackpropFilter}
public DatasetToSingleElement datasetToSingleElement(Operand<?> dataset, List<Class<?>> outputTypes, List<Shape> outputShapes)
DatasetToSingleElement
operation to the graphdataset
- A handle to a dataset that contains a single element.outputTypes
- outputShapes
- org.tensorflow.op.core.DatasetToSingleElement}
public TensorDataset tensorDataset(Iterable<Operand<?>> components, List<Shape> outputShapes)
TensorDataset
operation to the graphcomponents
- outputShapes
- org.tensorflow.op.core.TensorDataset}
public <V,T,U,W> QuantizedMatMul<V> quantizedMatMul(Operand<T> a, Operand<U> b, Operand<Float> minA, Operand<Float> maxA, Operand<Float> minB, Operand<Float> maxB, Class<V> Toutput, Class<W> Tactivation, QuantizedMatMul.Options... options)
QuantizedMatMul
operation to the grapha
- Must be a two-dimensional tensor.b
- Must be a two-dimensional tensor.minA
- The float value that the lowest quantized `a` value represents.maxA
- The float value that the highest quantized `a` value represents.minB
- The float value that the lowest quantized `b` value represents.maxB
- The float value that the highest quantized `b` value represents.Toutput
- Tactivation
- The type of output produced by activation functionoptions
- carries optional attributes valuesorg.tensorflow.op.core.QuantizedMatMul}
public <T extends Number> InTopK inTopK(Operand<Float> predictions, Operand<T> targets, Long k)
InTopK
operation to the graphpredictions
- A `batch_size` x `classes` tensor.targets
- A `batch_size` vector of class ids.k
- Number of top elements to look at for computing precision.org.tensorflow.op.core.InTopK}
public <T> TensorListSetItem tensorListSetItem(Operand<?> inputHandle, Operand<Integer> index, Operand<T> item)
TensorListSetItem
operation to the graphinputHandle
- index
- item
- org.tensorflow.op.core.TensorListSetItem}
public <T,U extends Number> SegmentMean<T> segmentMean(Operand<T> data, Operand<U> segmentIds)
SegmentMean
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'sorg.tensorflow.op.core.SegmentMean}
public <T,U extends Number> Slice<T> slice(Operand<T> input, Operand<U> begin, Operand<U> size)
Slice
operation to the graphinput
- begin
- begin[i] specifies the offset into the 'i'th dimension ofsize
- size[i] specifies the number of elements of the 'i'th dimensionorg.tensorflow.op.core.Slice}
public <T> ApplyAdagradDA<T> applyAdagradDA(Operand<T> var, Operand<T> gradientAccumulator, Operand<T> gradientSquaredAccumulator, Operand<T> grad, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<Long> globalStep, ApplyAdagradDA.Options... options)
ApplyAdagradDA
operation to the graphvar
- Should be from a Variable().gradientAccumulator
- Should be from a Variable().gradientSquaredAccumulator
- Should be from a Variable().grad
- The gradient.lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.globalStep
- Training step number. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyAdagradDA}
public <T extends Number> QuantizeAndDequantizeV3<T> quantizeAndDequantizeV3(Operand<T> input, Operand<T> inputMin, Operand<T> inputMax, Operand<Integer> numBits, QuantizeAndDequantizeV3.Options... options)
QuantizeAndDequantizeV3
operation to the graphinput
- inputMin
- inputMax
- numBits
- options
- carries optional attributes valuesorg.tensorflow.op.core.QuantizeAndDequantizeV3}
public <T> DenseToDenseSetOperation<T> denseToDenseSetOperation(Operand<T> set1, Operand<T> set2, String setOperation, DenseToDenseSetOperation.Options... options)
DenseToDenseSetOperation
operation to the graphset1
- `Tensor` with rank `n`. 1st `n-1` dimensions must be the same as `set2`.set2
- `Tensor` with rank `n`. 1st `n-1` dimensions must be the same as `set1`.setOperation
- options
- carries optional attributes valuesorg.tensorflow.op.core.DenseToDenseSetOperation}
public <T extends Number> BatchMatrixTriangularSolve<T> batchMatrixTriangularSolve(Operand<T> matrix, Operand<T> rhs, BatchMatrixTriangularSolve.Options... options)
BatchMatrixTriangularSolve
operation to the graphmatrix
- rhs
- options
- carries optional attributes valuesorg.tensorflow.op.core.BatchMatrixTriangularSolve}
public FakeQuantWithMinMaxArgs fakeQuantWithMinMaxArgs(Operand<Float> inputs, FakeQuantWithMinMaxArgs.Options... options)
FakeQuantWithMinMaxArgs
operation to the graphinputs
- options
- carries optional attributes valuesorg.tensorflow.op.core.FakeQuantWithMinMaxArgs}
public <T extends Number> ResizeBilinear resizeBilinear(Operand<T> images, Operand<Integer> size, ResizeBilinear.Options... options)
ResizeBilinear
operation to the graphimages
- 4-D with shape `[batch, height, width, channels]`.size
- = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. Theoptions
- carries optional attributes valuesorg.tensorflow.op.core.ResizeBilinear}
public MapPeek mapPeek(Operand<Long> key, Operand<Integer> indices, List<Class<?>> dtypes, MapPeek.Options... options)
MapPeek
operation to the graphkey
- indices
- dtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.MapPeek}
public <T> TensorArrayGather<T> tensorArrayGather(Operand<?> handle, Operand<Integer> indices, Operand<Float> flowIn, Class<T> dtype, TensorArrayGather.Options... options)
TensorArrayGather
operation to the graphhandle
- The handle to a TensorArray.indices
- The locations in the TensorArray from which to read tensor elements.flowIn
- A float scalar that enforces proper chaining of operations.dtype
- The type of the elem that is returned.options
- carries optional attributes valuesorg.tensorflow.op.core.TensorArrayGather}
public <T extends Number> BatchMatrixInverse<T> batchMatrixInverse(Operand<T> input, BatchMatrixInverse.Options... options)
BatchMatrixInverse
operation to the graphinput
- options
- carries optional attributes valuesorg.tensorflow.op.core.BatchMatrixInverse}
public <T> Placeholder<T> placeholder(Class<T> dtype, Placeholder.Options... options)
Placeholder
operation to the graphdtype
- The type of elements in the tensor.options
- carries optional attributes valuesorg.tensorflow.op.core.Placeholder}
public SdcaShrinkL1 sdcaShrinkL1(Iterable<Operand<Float>> weights, Float l1, Float l2)
SdcaShrinkL1
operation to the graphweights
- a list of vectors where each value is the weight associated with al1
- Symmetric l1 regularization strength.l2
- Symmetric l2 regularization strength. Should be a positive float.org.tensorflow.op.core.SdcaShrinkL1}
public DeleteSessionTensor deleteSessionTensor(Operand<String> handle)
DeleteSessionTensor
operation to the graphhandle
- The handle for a tensor stored in the session state.org.tensorflow.op.core.DeleteSessionTensor}
public <U,T> SerializeManySparse<U> serializeManySparse(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape, Class<U> outType)
SerializeManySparse
operation to the graphsparseIndices
- 2-D. The `indices` of the minibatch `SparseTensor`.sparseValues
- 1-D. The `values` of the minibatch `SparseTensor`.sparseShape
- 1-D. The `shape` of the minibatch `SparseTensor`.outType
- The `dtype` to use for serialization; the supported types are `string`org.tensorflow.op.core.SerializeManySparse}
public TFRecordReader tFRecordReader(TFRecordReader.Options... options)
TFRecordReader
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.TFRecordReader}
public RestoreV2 restoreV2(Operand<String> prefix, Operand<String> tensorNames, Operand<String> shapeAndSlices, List<Class<?>> dtypes)
RestoreV2
operation to the graphprefix
- Must have a single element. The prefix of a V2 checkpoint.tensorNames
- shape {N}. The names of the tensors to be restored.shapeAndSlices
- shape {N}. The slice specs of the tensors to be restored.dtypes
- shape {N}. The list of expected dtype for the tensors. Must matchorg.tensorflow.op.core.RestoreV2}
public <T,U> InitializeTable initializeTable(Operand<?> tableHandle, Operand<T> keys, Operand<U> values)
InitializeTable
operation to the graphtableHandle
- Handle to a table which will be initialized.keys
- Keys of type Tkey.values
- Values of type Tval.org.tensorflow.op.core.InitializeTable}
public <T> RequantizationRange requantizationRange(Operand<T> input, Operand<Float> inputMin, Operand<Float> inputMax)
RequantizationRange
operation to the graphinput
- inputMin
- The float value that the minimum quantized input value represents.inputMax
- The float value that the maximum quantized input value represents.org.tensorflow.op.core.RequantizationRange}
public <U extends Number,T> ComplexAbs<U> complexAbs(Operand<T> x, Class<U> Tout)
ComplexAbs
operation to the graphx
- Tout
- org.tensorflow.op.core.ComplexAbs}
public <T extends Number> Conv2D<T> conv2D(Operand<T> input, Operand<T> filter, List<Long> strides, String padding, Conv2D.Options... options)
Conv2D
operation to the graphinput
- A 4-D tensor. The dimension order is interpreted according to the valuefilter
- A 4-D tensor of shapestrides
- 1-D tensor of length 4. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv2D}
public <T extends Number,U extends Number> MaxPoolWithArgmax<T,U> maxPoolWithArgmax(Operand<T> input, List<Long> ksize, List<Long> strides, Class<U> Targmax, String padding)
MaxPoolWithArgmax
operation to the graphinput
- 4-D with shape `[batch, height, width, channels]`. Input to pool over.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of theTargmax
- padding
- The type of padding algorithm to use.org.tensorflow.op.core.MaxPoolWithArgmax}
public <T> TensorArrayUnpack tensorArrayUnpack(Operand<String> handle, Operand<T> value, Operand<Float> flowIn)
TensorArrayUnpack
operation to the graphhandle
- value
- flowIn
- org.tensorflow.op.core.TensorArrayUnpack}
public Skipgram skipgram(String filename, Long batchSize, Skipgram.Options... options)
Skipgram
operation to the graphfilename
- The corpus's text file name.batchSize
- The size of produced batch.options
- carries optional attributes valuesorg.tensorflow.op.core.Skipgram}
public <T> Sign<T> sign(Operand<T> x)
Sign
operation to the graphx
- org.tensorflow.op.core.Sign}
public TryRpc tryRpc(Operand<String> address, Operand<String> method, Operand<String> request, TryRpc.Options... options)
TryRpc
operation to the graphaddress
- `0-D` or `1-D`. The address (i.e. host_name:port) of the RPC server.method
- `0-D` or `1-D`. The method address on the RPC server.request
- `0-D` or `1-D`. Serialized proto strings: the rpc request argument.options
- carries optional attributes valuesorg.tensorflow.op.core.TryRpc}
public <T extends Number> ImageSummary imageSummary(Operand<String> tag, Operand<T> tensor, ImageSummary.Options... options)
ImageSummary
operation to the graphtag
- Scalar. Used to build the `tag` attribute of the summary values.tensor
- 4-D of shape `[batch_size, height, width, channels]` whereoptions
- carries optional attributes valuesorg.tensorflow.op.core.ImageSummary}
public <T extends Number,U extends Number,V extends Number> SparseSegmentSqrtNWithNumSegments<T> sparseSegmentSqrtNWithNumSegments(Operand<T> data, Operand<U> indices, Operand<Integer> segmentIds, Operand<V> numSegments)
SparseSegmentSqrtNWithNumSegments
operation to the graphdata
- indices
- A 1-D tensor. Has same rank as `segment_ids`.segmentIds
- A 1-D tensor. Values should be sorted and can be repeated.numSegments
- Should equal the number of distinct segment IDs.org.tensorflow.op.core.SparseSegmentSqrtNWithNumSegments}
public <T> Cos<T> cos(Operand<T> x)
Cos
operation to the graphx
- org.tensorflow.op.core.Cos}
public <T> ResourceApplyFtrlV2 resourceApplyFtrlV2(Operand<?> var, Operand<?> accum, Operand<?> linear, Operand<T> grad, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> l2Shrinkage, Operand<T> lrPower, ResourceApplyFtrlV2.Options... options)
ResourceApplyFtrlV2
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.lr
- Scaling factor. Must be a scalar.l1
- L1 regulariation. Must be a scalar.l2
- L2 shrinkage regulariation. Must be a scalar.l2Shrinkage
- lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyFtrlV2}
public <T extends Number> RightShift<T> rightShift(Operand<T> x, Operand<T> y)
RightShift
operation to the graphx
- y
- org.tensorflow.op.core.RightShift}
public TextLineReader textLineReader(TextLineReader.Options... options)
TextLineReader
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.TextLineReader}
public <T,U extends Number> SparseApplyCenteredRMSProp<T> sparseApplyCenteredRMSProp(Operand<T> var, Operand<T> mg, Operand<T> ms, Operand<T> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, Operand<U> indices, SparseApplyCenteredRMSProp.Options... options)
SparseApplyCenteredRMSProp
operation to the graphvar
- Should be from a Variable().mg
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var, ms and mom.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyCenteredRMSProp}
public <T,U extends Number> SparseApplyFtrlV2<T> sparseApplyFtrlV2(Operand<T> var, Operand<T> accum, Operand<T> linear, Operand<T> grad, Operand<U> indices, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> l2Shrinkage, Operand<T> lrPower, SparseApplyFtrlV2.Options... options)
SparseApplyFtrlV2
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 shrinkage regulariation. Must be a scalar.l2Shrinkage
- lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyFtrlV2}
public <T> Merge<T> merge(Operand<T> inputs)
Merge
operation to the graphinputs
- The input tensors, exactly one of which will become available.org.tensorflow.op.core.Merge}
public <T,U extends Number> SetDiff1D<T,U> setDiff1D(Operand<T> x, Operand<T> y, Class<U> outIdx)
SetDiff1D
operation to the graphx
- 1-D. Values to keep.y
- 1-D. Values to remove.outIdx
- org.tensorflow.op.core.SetDiff1D}
public <T> Empty<T> empty(Operand<Integer> shape, Class<T> dtype, Empty.Options... options)
Empty
operation to the graphshape
- 1-D. Represents the shape of the output tensor.dtype
- options
- carries optional attributes valuesorg.tensorflow.op.core.Empty}
public <T extends Number> BroadcastDynamicShape<T> broadcastDynamicShape(Operand<T> s0, Operand<T> s1)
BroadcastDynamicShape
operation to the graphs0
- s1
- org.tensorflow.op.core.BroadcastDynamicShape}
public NonMaxSuppressionV2 nonMaxSuppressionV2(Operand<Float> boxes, Operand<Float> scores, Operand<Integer> maxOutputSize, Operand<Float> iouThreshold)
NonMaxSuppressionV2
operation to the graphboxes
- A 2-D float tensor of shape `[num_boxes, 4]`.scores
- A 1-D float tensor of shape `[num_boxes]` representing a singlemaxOutputSize
- A scalar integer tensor representing the maximum number ofiouThreshold
- A 0-D float tensor representing the threshold for deciding whetherorg.tensorflow.op.core.NonMaxSuppressionV2}
public <T,U extends Number> ResourceSparseApplyMomentum resourceSparseApplyMomentum(Operand<?> var, Operand<?> accum, Operand<T> lr, Operand<T> grad, Operand<U> indices, Operand<T> momentum, ResourceSparseApplyMomentum.Options... options)
ResourceSparseApplyMomentum
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Learning rate. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.momentum
- Momentum. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyMomentum}
public <T extends Number> Range<T> range(Operand<T> start, Operand<T> limit, Operand<T> delta)
Range
operation to the graphstart
- 0-D (scalar). First entry in the sequence.limit
- 0-D (scalar). Upper limit of sequence, exclusive.delta
- 0-D (scalar). Optional. Default is 1. Number that increments `start`.org.tensorflow.op.core.Range}
public <T> SerializeTensor serializeTensor(Operand<T> tensor)
SerializeTensor
operation to the graphtensor
- A Tensor of type `T`.org.tensorflow.op.core.SerializeTensor}
public <T> BiasAdd<T> biasAdd(Operand<T> value, Operand<T> bias, BiasAdd.Options... options)
BiasAdd
operation to the graphvalue
- Any number of dimensions.bias
- 1-D with size the last dimension of `value`.options
- carries optional attributes valuesorg.tensorflow.op.core.BiasAdd}
public <T extends Number> Erf<T> erf(Operand<T> x)
Erf
operation to the graphx
- org.tensorflow.op.core.Erf}
public EncodeJpeg encodeJpeg(Operand<UInt8> image, EncodeJpeg.Options... options)
EncodeJpeg
operation to the graphimage
- 3-D with shape `[height, width, channels]`.options
- carries optional attributes valuesorg.tensorflow.op.core.EncodeJpeg}
public <V extends Number,T extends Number,U extends Number> StatelessRandomNormal<V> statelessRandomNormal(Operand<T> shape, Operand<U> seed, Class<V> dtype)
StatelessRandomNormal
operation to the graphshape
- The shape of the output tensor.seed
- 2 seeds (shape [2]).dtype
- The type of the output.org.tensorflow.op.core.StatelessRandomNormal}
public <T> IFFT3D<T> iFFT3D(Operand<T> input)
IFFT3D
operation to the graphinput
- A complex64 tensor.org.tensorflow.op.core.IFFT3D}
public <T extends Number,U extends Number> FusedBatchNormGradV2<T,U> fusedBatchNormGradV2(Operand<T> yBackprop, Operand<T> x, Operand<Float> scale, Operand<U> reserveSpace1, Operand<U> reserveSpace2, FusedBatchNormGradV2.Options... options)
FusedBatchNormGradV2
operation to the graphyBackprop
- A 4D Tensor for the gradient with respect to y.x
- A 4D Tensor for input data.scale
- A 1D Tensor for scaling factor, to scale the normalized x.reserveSpace1
- When is_training is True, a 1D Tensor for the computed batchreserveSpace2
- When is_training is True, a 1D Tensor for the computed batchoptions
- carries optional attributes valuesorg.tensorflow.op.core.FusedBatchNormGradV2}
public <T> SparseReorder<T> sparseReorder(Operand<Long> inputIndices, Operand<T> inputValues, Operand<Long> inputShape)
SparseReorder
operation to the graphinputIndices
- 2-D. `N x R` matrix with the indices of non-empty values in ainputValues
- 1-D. `N` non-empty values corresponding to `input_indices`.inputShape
- 1-D. Shape of the input SparseTensor.org.tensorflow.op.core.SparseReorder}
public <T,U> MutableDenseHashTable mutableDenseHashTable(Operand<T> emptyKey, Class<U> valueDtype, MutableDenseHashTable.Options... options)
MutableDenseHashTable
operation to the graphemptyKey
- The key used to represent empty key buckets internally. Must notvalueDtype
- Type of the table values.options
- carries optional attributes valuesorg.tensorflow.op.core.MutableDenseHashTable}
public <T extends Number> RandomCrop<T> randomCrop(Operand<T> image, Operand<Long> size, RandomCrop.Options... options)
RandomCrop
operation to the graphimage
- 3-D of shape `[height, width, channels]`.size
- 1-D of length 2 containing: `crop_height`, `crop_width`..options
- carries optional attributes valuesorg.tensorflow.op.core.RandomCrop}
public <T> FFT2D<T> fFT2D(Operand<T> input)
FFT2D
operation to the graphinput
- A complex64 tensor.org.tensorflow.op.core.FFT2D}
public <T> SparseFillEmptyRows<T> sparseFillEmptyRows(Operand<Long> indices, Operand<T> values, Operand<Long> denseShape, Operand<T> defaultValue)
SparseFillEmptyRows
operation to the graphindices
- 2-D. the indices of the sparse tensor.values
- 1-D. the values of the sparse tensor.denseShape
- 1-D. the shape of the sparse tensor.defaultValue
- 0-D. default value to insert into location `[row, 0, ..., 0]`org.tensorflow.op.core.SparseFillEmptyRows}
public <T,U extends Number> ScatterUpdate<T> scatterUpdate(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterUpdate.Options... options)
ScatterUpdate
operation to the graphref
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to store in `ref`.options
- carries optional attributes valuesorg.tensorflow.op.core.ScatterUpdate}
public <T> AccumulatorApplyGradient accumulatorApplyGradient(Operand<String> handle, Operand<Long> localStep, Operand<T> gradient)
AccumulatorApplyGradient
operation to the graphhandle
- The handle to a accumulator.localStep
- The local_step value at which the gradient was computed.gradient
- A tensor of the gradient to be accumulated.org.tensorflow.op.core.AccumulatorApplyGradient}
public DecodeBase64 decodeBase64(Operand<String> input)
DecodeBase64
operation to the graphinput
- Base64 strings to decode.org.tensorflow.op.core.DecodeBase64}
public <T> Split<T> split(Operand<Integer> axis, Operand<T> value, Long numSplit)
Split
operation to the graphaxis
- 0-D. The dimension along which to split. Must be in the rangevalue
- The tensor to split.numSplit
- The number of ways to split. Must evenly divideorg.tensorflow.op.core.Split}
public <T extends Number> VariableShape<T> variableShape(Operand<?> input, Class<T> outType)
VariableShape
operation to the graphinput
- outType
- org.tensorflow.op.core.VariableShape}
public <T extends Number> Zeta<T> zeta(Operand<T> x, Operand<T> q)
Zeta
operation to the graphx
- q
- org.tensorflow.op.core.Zeta}
public <T extends Number,U> ResourceScatterMax resourceScatterMax(Operand<?> resource, Operand<T> indices, Operand<U> updates)
ResourceScatterMax
operation to the graphresource
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.org.tensorflow.op.core.ResourceScatterMax}
public <U extends Number,T> Shape<U> shape(Operand<T> input, Class<U> outType)
Shape
operation to the graphinput
- outType
- org.tensorflow.op.core.Shape}
public <T> TensorListStack<T> tensorListStack(Operand<?> inputHandle, Class<T> elementDtype, TensorListStack.Options... options)
TensorListStack
operation to the graphinputHandle
- elementDtype
- options
- carries optional attributes valuesorg.tensorflow.op.core.TensorListStack}
public <T extends Number> ExtractImagePatches<T> extractImagePatches(Operand<T> images, List<Long> ksizes, List<Long> strides, List<Long> rates, String padding)
ExtractImagePatches
operation to the graphimages
- 4-D Tensor with shape `[batch, in_rows, in_cols, depth]`.ksizes
- The size of the sliding window for each dimension of `images`.strides
- 1-D of length 4. How far the centers of two consecutive patches are inrates
- 1-D of length 4. Must be: `[1, rate_rows, rate_cols, 1]`. This is thepadding
- The type of padding algorithm to use.org.tensorflow.op.core.ExtractImagePatches}
public <T,U extends Number> ResourceSparseApplyRMSProp resourceSparseApplyRMSProp(Operand<?> var, Operand<?> ms, Operand<?> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, Operand<U> indices, ResourceSparseApplyRMSProp.Options... options)
ResourceSparseApplyRMSProp
operation to the graphvar
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var, ms and mom.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyRMSProp}
public UnbatchDataset unbatchDataset(Operand<?> inputDataset, List<Class<?>> outputTypes, List<Shape> outputShapes)
UnbatchDataset
operation to the graphinputDataset
- outputTypes
- outputShapes
- org.tensorflow.op.core.UnbatchDataset}
public <T> MaxPool<T> maxPool(Operand<T> input, List<Long> ksize, List<Long> strides, String padding, MaxPool.Options... options)
MaxPool
operation to the graphinput
- 4-D input to pool over.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of thepadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPool}
public <U extends Number,T extends Number> TruncatedNormal<U> truncatedNormal(Operand<T> shape, Class<U> dtype, TruncatedNormal.Options... options)
TruncatedNormal
operation to the graphshape
- The shape of the output tensor.dtype
- The type of the output.options
- carries optional attributes valuesorg.tensorflow.op.core.TruncatedNormal}
public <U extends Number,T extends Number> MaxPool3DGrad<U> maxPool3DGrad(Operand<T> origInput, Operand<T> origOutput, Operand<U> grad, List<Long> ksize, List<Long> strides, String padding, MaxPool3DGrad.Options... options)
MaxPool3DGrad
operation to the graphorigInput
- The original input tensor.origOutput
- The original output tensor.grad
- Output backprop of shape `[batch, depth, rows, cols, channels]`.ksize
- 1-D tensor of length 5. The size of the window for each dimension ofstrides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPool3DGrad}
public <T,U extends Number> SparseApplyMomentum<T> sparseApplyMomentum(Operand<T> var, Operand<T> accum, Operand<T> lr, Operand<T> grad, Operand<U> indices, Operand<T> momentum, SparseApplyMomentum.Options... options)
SparseApplyMomentum
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Learning rate. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.momentum
- Momentum. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyMomentum}
public <T> ParallelConcat<T> parallelConcat(Operand<T> values, Shape shape)
ParallelConcat
operation to the graphvalues
- Tensors to be concatenated. All must have size 1 in the first dimensionshape
- the final shape of the result; should be equal to the shapes of any inputorg.tensorflow.op.core.ParallelConcat}
public <T extends Number> LRN<T> lRN(Operand<T> input, LRN.Options... options)
LRN
operation to the graphinput
- 4-D.options
- carries optional attributes valuesorg.tensorflow.op.core.LRN}
public <T,U extends Number> BroadcastTo<T> broadcastTo(Operand<T> input, Operand<U> shape)
BroadcastTo
operation to the graphinput
- A Tensor to broadcast.shape
- An 1-D `int` Tensor. The shape of the desired output.org.tensorflow.op.core.BroadcastTo}
public <T> SparseAccumulatorTakeGradient<T> sparseAccumulatorTakeGradient(Operand<String> handle, Operand<Integer> numRequired, Class<T> dtype)
SparseAccumulatorTakeGradient
operation to the graphhandle
- The handle to a SparseConditionalAccumulator.numRequired
- Number of gradients required before we return an aggregate.dtype
- The data type of accumulated gradients. Needs to correspond to the typeorg.tensorflow.op.core.SparseAccumulatorTakeGradient}
public AudioSummary audioSummary(Operand<String> tag, Operand<Float> tensor, Operand<Float> sampleRate, AudioSummary.Options... options)
AudioSummary
operation to the graphtag
- Scalar. Used to build the `tag` attribute of the summary values.tensor
- 2-D of shape `[batch_size, frames]`.sampleRate
- The sample rate of the signal in hertz.options
- carries optional attributes valuesorg.tensorflow.op.core.AudioSummary}
public <T> DepthToSpace<T> depthToSpace(Operand<T> input, Long blockSize, DepthToSpace.Options... options)
DepthToSpace
operation to the graphinput
- blockSize
- The size of the spatial block, same as in Space2Depth.options
- carries optional attributes valuesorg.tensorflow.op.core.DepthToSpace}
public <T extends Number> BatchCholeskyGrad<T> batchCholeskyGrad(Operand<T> l, Operand<T> grad)
BatchCholeskyGrad
operation to the graphl
- grad
- org.tensorflow.op.core.BatchCholeskyGrad}
public GcsConfigureBlockCache gcsConfigureBlockCache(Operand<?> maxCacheSize, Operand<?> blockSize, Operand<?> maxStaleness)
GcsConfigureBlockCache
operation to the graphmaxCacheSize
- blockSize
- maxStaleness
- org.tensorflow.op.core.GcsConfigureBlockCache}
public <T extends Number> Dilation2DBackpropInput<T> dilation2DBackpropInput(Operand<T> input, Operand<T> filter, Operand<T> outBackprop, List<Long> strides, List<Long> rates, String padding)
Dilation2DBackpropInput
operation to the graphinput
- 4-D with shape `[batch, in_height, in_width, depth]`.filter
- 3-D with shape `[filter_height, filter_width, depth]`.outBackprop
- 4-D with shape `[batch, out_height, out_width, depth]`.strides
- 1-D of length 4. The stride of the sliding window for each dimension ofrates
- 1-D of length 4. The input stride for atrous morphological dilation.padding
- The type of padding algorithm to use.org.tensorflow.op.core.Dilation2DBackpropInput}
public <T,U extends Number> StridedSlice<T> stridedSlice(Operand<T> input, Operand<U> begin, Operand<U> end, Operand<U> strides, StridedSlice.Options... options)
StridedSlice
operation to the graphinput
- begin
- `begin[k]` specifies the offset into the `k`th range specification.end
- `end[i]` is like `begin` with the exception that `end_mask` isstrides
- `strides[i]` specifies the increment in the `i`th specificationoptions
- carries optional attributes valuesorg.tensorflow.op.core.StridedSlice}
public <T,V extends Number,U extends Number> UniqueWithCountsV2<T,V> uniqueWithCountsV2(Operand<T> x, Operand<U> axis, Class<V> outIdx)
UniqueWithCountsV2
operation to the graphx
- A `Tensor`.axis
- A `Tensor` of type `int32` (default: None). The axis of the Tensor tooutIdx
- org.tensorflow.op.core.UniqueWithCountsV2}
public OrderedMapUnstageNoKey orderedMapUnstageNoKey(Operand<Integer> indices, List<Class<?>> dtypes, OrderedMapUnstageNoKey.Options... options)
OrderedMapUnstageNoKey
operation to the graphindices
- dtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.OrderedMapUnstageNoKey}
public <T> SparseReduceSumSparse<T> sparseReduceSumSparse(Operand<Long> inputIndices, Operand<T> inputValues, Operand<Long> inputShape, Operand<Integer> reductionAxes, SparseReduceSumSparse.Options... options)
SparseReduceSumSparse
operation to the graphinputIndices
- 2-D. `N x R` matrix with the indices of non-empty values in ainputValues
- 1-D. `N` non-empty values corresponding to `input_indices`.inputShape
- 1-D. Shape of the input SparseTensor.reductionAxes
- 1-D. Length-`K` vector containing the reduction axes.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseReduceSumSparse}
public <T extends Number> ResizeNearestNeighbor<T> resizeNearestNeighbor(Operand<T> images, Operand<Integer> size, ResizeNearestNeighbor.Options... options)
ResizeNearestNeighbor
operation to the graphimages
- 4-D with shape `[batch, height, width, channels]`.size
- = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. Theoptions
- carries optional attributes valuesorg.tensorflow.op.core.ResizeNearestNeighbor}
public FakeQuantWithMinMaxVarsPerChannel fakeQuantWithMinMaxVarsPerChannel(Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVarsPerChannel.Options... options)
FakeQuantWithMinMaxVarsPerChannel
operation to the graphinputs
- min
- max
- options
- carries optional attributes valuesorg.tensorflow.op.core.FakeQuantWithMinMaxVarsPerChannel}
public <T> TileGrad<T> tileGrad(Operand<T> input, Operand<Integer> multiples)
TileGrad
operation to the graphinput
- multiples
- org.tensorflow.op.core.TileGrad}
public <T extends Number,U extends Number> FusedBatchNormV2<T,U> fusedBatchNormV2(Operand<T> x, Operand<U> scale, Operand<U> offset, Operand<U> mean, Operand<U> variance, FusedBatchNormV2.Options... options)
FusedBatchNormV2
operation to the graphx
- A 4D Tensor for input data.scale
- A 1D Tensor for scaling factor, to scale the normalized x.offset
- A 1D Tensor for offset, to shift to the normalized x.mean
- A 1D Tensor for population mean. Used for inference only;variance
- A 1D Tensor for population variance. Used for inference only;options
- carries optional attributes valuesorg.tensorflow.op.core.FusedBatchNormV2}
public <T> Variable<T> variable(Shape shape, Class<T> dtype, Variable.Options... options)
Variable
operation to the graphshape
- The shape of the variable tensor.dtype
- The type of elements in the variable tensor.options
- carries optional attributes valuesorg.tensorflow.op.core.Variable}
public <T> OnesLike<T> onesLike(Operand<T> x)
OnesLike
operation to the graphx
- a tensor of type T.org.tensorflow.op.core.OnesLike}
public ReaderSerializeState readerSerializeState(Operand<?> readerHandle)
ReaderSerializeState
operation to the graphreaderHandle
- Handle to a Reader.org.tensorflow.op.core.ReaderSerializeState}
public <T> TensorArrayConcat<T> tensorArrayConcat(Operand<?> handle, Operand<Float> flowIn, Class<T> dtype, TensorArrayConcat.Options... options)
TensorArrayConcat
operation to the graphhandle
- The handle to a TensorArray.flowIn
- A float scalar that enforces proper chaining of operations.dtype
- The type of the elem that is returned.options
- carries optional attributes valuesorg.tensorflow.op.core.TensorArrayConcat}
public <T> Sub<T> sub(Operand<T> x, Operand<T> y)
Sub
operation to the graphx
- y
- org.tensorflow.op.core.Sub}
public DecodeProtoV2 decodeProtoV2(Operand<String> bytes, String messageType, List<String> fieldNames, List<Class<?>> outputTypes, DecodeProtoV2.Options... options)
DecodeProtoV2
operation to the graphbytes
- Tensor of serialized protos with shape `batch_shape`.messageType
- Name of the proto message type to decode.fieldNames
- List of strings containing proto field names.outputTypes
- List of TF types to use for the respective field in field_names.options
- carries optional attributes valuesorg.tensorflow.op.core.DecodeProtoV2}
public <T> SparseSplit<T> sparseSplit(Operand<Long> splitDim, Operand<Long> indices, Operand<T> values, Operand<Long> shape, Long numSplit)
SparseSplit
operation to the graphsplitDim
- 0-D. The dimension along which to split. Must be in the rangeindices
- 2-D tensor represents the indices of the sparse tensor.values
- 1-D tensor represents the values of the sparse tensor.shape
- 1-D. tensor represents the shape of the sparse tensor.numSplit
- The number of ways to split.org.tensorflow.op.core.SparseSplit}
public <T> AssignSub<T> assignSub(Operand<T> ref, Operand<T> value, AssignSub.Options... options)
AssignSub
operation to the graphref
- Should be from a `Variable` node.value
- The value to be subtracted to the variable.options
- carries optional attributes valuesorg.tensorflow.op.core.AssignSub}
public <T> ImmutableConst<T> immutableConst(Class<T> dtype, Shape shape, String memoryRegionName)
ImmutableConst
operation to the graphdtype
- Type of the returned tensor.shape
- Shape of the returned tensor.memoryRegionName
- Name of readonly memory region used by the tensor, seeorg.tensorflow.op.core.ImmutableConst}
public CTCLoss cTCLoss(Operand<Float> inputs, Operand<Long> labelsIndices, Operand<Integer> labelsValues, Operand<Integer> sequenceLength, CTCLoss.Options... options)
CTCLoss
operation to the graphinputs
- 3-D, shape: `(max_time x batch_size x num_classes)`, the logits.labelsIndices
- The indices of a `SparseTensorlabelsValues
- The values (labels) associated with the given batch and time.sequenceLength
- A vector containing sequence lengths (batch).options
- carries optional attributes valuesorg.tensorflow.op.core.CTCLoss}
public <T extends Number> BesselI1e<T> besselI1e(Operand<T> x)
BesselI1e
operation to the graphx
- org.tensorflow.op.core.BesselI1e}
public <T extends Number,U> ResourceScatterSub resourceScatterSub(Operand<?> resource, Operand<T> indices, Operand<U> updates)
ResourceScatterSub
operation to the graphresource
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.org.tensorflow.op.core.ResourceScatterSub}
public <T,U extends Number,V extends Number> UnsortedSegmentProd<T> unsortedSegmentProd(Operand<T> data, Operand<U> segmentIds, Operand<V> numSegments)
UnsortedSegmentProd
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'snumSegments
- org.tensorflow.op.core.UnsortedSegmentProd}
public GenerateVocabRemapping generateVocabRemapping(Operand<String> newVocabFile, Operand<String> oldVocabFile, Long newVocabOffset, Long numNewVocab, GenerateVocabRemapping.Options... options)
GenerateVocabRemapping
operation to the graphnewVocabFile
- Path to the new vocab file.oldVocabFile
- Path to the old vocab file.newVocabOffset
- How many entries into the new vocab file to start reading.numNewVocab
- Number of entries in the new vocab file to remap.options
- carries optional attributes valuesorg.tensorflow.op.core.GenerateVocabRemapping}
public <T,U extends Number> UniqueWithCounts<T,U> uniqueWithCounts(Operand<T> x, Class<U> outIdx)
UniqueWithCounts
operation to the graphx
- 1-D.outIdx
- org.tensorflow.op.core.UniqueWithCounts}
public OrderedMapSize orderedMapSize(List<Class<?>> dtypes, OrderedMapSize.Options... options)
OrderedMapSize
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.OrderedMapSize}
public <T extends Number> Rint<T> rint(Operand<T> x)
Rint
operation to the graphx
- org.tensorflow.op.core.Rint}
public <T> Negate<T> negate(Operand<T> x)
Negate
operation to the graphx
- org.tensorflow.op.core.Negate}
public GenerateBigQueryReaderPartitions generateBigQueryReaderPartitions(String projectId, String datasetId, String tableId, List<String> columns, Long timestampMillis, Long numPartitions, GenerateBigQueryReaderPartitions.Options... options)
GenerateBigQueryReaderPartitions
operation to the graphprojectId
- GCP project ID.datasetId
- BigQuery Dataset ID.tableId
- Table to read.columns
- List of columns to read. Leave empty to read all columns.timestampMillis
- Table snapshot timestamp in millis since epoch. RelativenumPartitions
- Number of partitions to split the table into.options
- carries optional attributes valuesorg.tensorflow.op.core.GenerateBigQueryReaderPartitions}
public RegexReplace regexReplace(Operand<String> input, Operand<String> pattern, Operand<String> rewrite, RegexReplace.Options... options)
RegexReplace
operation to the graphinput
- The text to be processed.pattern
- The regular expression to match the input.rewrite
- The rewrite to be applied to the matched expresion.options
- carries optional attributes valuesorg.tensorflow.op.core.RegexReplace}
public <T extends Number,U extends Number> ScatterMin<T> scatterMin(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterMin.Options... options)
ScatterMin
operation to the graphref
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to reduce into `ref`.options
- carries optional attributes valuesorg.tensorflow.op.core.ScatterMin}
public IteratorGetNextSync iteratorGetNextSync(Operand<?> iterator, List<Class<?>> outputTypes, List<Shape> outputShapes)
IteratorGetNextSync
operation to the graphiterator
- outputTypes
- outputShapes
- org.tensorflow.op.core.IteratorGetNextSync}
public BarrierReadySize barrierReadySize(Operand<String> handle)
BarrierReadySize
operation to the graphhandle
- The handle to a barrier.org.tensorflow.op.core.BarrierReadySize}
public <T extends Number> IsNan isNan(Operand<T> x)
IsNan
operation to the graphx
- org.tensorflow.op.core.IsNan}
public <T> Asin<T> asin(Operand<T> x)
Asin
operation to the graphx
- org.tensorflow.op.core.Asin}
public <T extends Number> CudnnRNN<T> cudnnRNN(Operand<T> input, Operand<T> inputH, Operand<T> inputC, Operand<T> params, CudnnRNN.Options... options)
CudnnRNN
operation to the graphinput
- inputH
- inputC
- params
- options
- carries optional attributes valuesorg.tensorflow.op.core.CudnnRNN}
public <T> Reciprocal<T> reciprocal(Operand<T> x)
Reciprocal
operation to the graphx
- org.tensorflow.op.core.Reciprocal}
public <T> TensorArrayPack<T> tensorArrayPack(Operand<String> handle, Operand<Float> flowIn, Class<T> dtype, TensorArrayPack.Options... options)
TensorArrayPack
operation to the graphhandle
- flowIn
- dtype
- options
- carries optional attributes valuesorg.tensorflow.op.core.TensorArrayPack}
public <T,U> LookupTableInsert lookupTableInsert(Operand<?> tableHandle, Operand<T> keys, Operand<U> values)
LookupTableInsert
operation to the graphtableHandle
- Handle to the table.keys
- Any shape. Keys to look up.values
- Values to associate with keys.org.tensorflow.op.core.LookupTableInsert}
public <T extends Number> ExtractJpegShape<T> extractJpegShape(Operand<String> contents, Class<T> outputType)
ExtractJpegShape
operation to the graphcontents
- 0-D. The JPEG-encoded image.outputType
- (Optional) The output type of the operation (int32 or int64).org.tensorflow.op.core.ExtractJpegShape}
public <T extends Number> MaxPool3D<T> maxPool3D(Operand<T> input, List<Long> ksize, List<Long> strides, String padding, MaxPool3D.Options... options)
MaxPool3D
operation to the graphinput
- Shape `[batch, depth, rows, cols, channels]` tensor to pool over.ksize
- 1-D tensor of length 5. The size of the window for each dimension ofstrides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPool3D}
public VarIsInitializedOp varIsInitializedOp(Operand<?> resource)
VarIsInitializedOp
operation to the graphresource
- the input resource handle.org.tensorflow.op.core.VarIsInitializedOp}
public <T extends Number> Selu<T> selu(Operand<T> features)
Selu
operation to the graphfeatures
- org.tensorflow.op.core.Selu}
public DecodeCSV decodeCSV(Operand<String> records, Iterable<Operand<?>> recordDefaults, DecodeCSV.Options... options)
DecodeCSV
operation to the graphrecords
- Each string is a record/row in the csv and all records should haverecordDefaults
- One tensor per column of the input record, with either aoptions
- carries optional attributes valuesorg.tensorflow.op.core.DecodeCSV}
public DestroyResourceOp destroyResourceOp(Operand<?> resource, DestroyResourceOp.Options... options)
DestroyResourceOp
operation to the graphresource
- handle to the resource to delete.options
- carries optional attributes valuesorg.tensorflow.op.core.DestroyResourceOp}
public <T> SparseSparseMinimum<T> sparseSparseMinimum(Operand<Long> aIndices, Operand<T> aValues, Operand<Long> aShape, Operand<Long> bIndices, Operand<T> bValues, Operand<Long> bShape)
SparseSparseMinimum
operation to the graphaIndices
- 2-D. `N x R` matrix with the indices of non-empty values in aaValues
- 1-D. `N` non-empty values corresponding to `a_indices`.aShape
- 1-D. Shape of the input SparseTensor.bIndices
- counterpart to `a_indices` for the other operand.bValues
- counterpart to `a_values` for the other operand; must be of the same dtype.bShape
- counterpart to `a_shape` for the other operand; the two shapes must be equal.org.tensorflow.op.core.SparseSparseMinimum}
public <U extends Number,T extends Number> RandomGamma<U> randomGamma(Operand<T> shape, Operand<U> alpha, RandomGamma.Options... options)
RandomGamma
operation to the graphshape
- 1-D integer tensor. Shape of independent samples to draw from eachalpha
- A tensor in which each scalar is a "shape" parameter describing theoptions
- carries optional attributes valuesorg.tensorflow.op.core.RandomGamma}
public <T> MatrixDeterminant<T> matrixDeterminant(Operand<T> input)
MatrixDeterminant
operation to the graphinput
- Shape is `[..., M, M]`.org.tensorflow.op.core.MatrixDeterminant}
public MapSize mapSize(List<Class<?>> dtypes, MapSize.Options... options)
MapSize
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.MapSize}
public <T> ZerosLike<T> zerosLike(Operand<T> x)
ZerosLike
operation to the graphx
- a tensor of type T.org.tensorflow.op.core.ZerosLike}
public <T> Square<T> square(Operand<T> x)
Square
operation to the graphx
- org.tensorflow.op.core.Square}
public <T> Sin<T> sin(Operand<T> x)
Sin
operation to the graphx
- org.tensorflow.op.core.Sin}
public ReaderNumRecordsProduced readerNumRecordsProduced(Operand<?> readerHandle)
ReaderNumRecordsProduced
operation to the graphreaderHandle
- Handle to a Reader.org.tensorflow.op.core.ReaderNumRecordsProduced}
public <T> QuantizedAvgPool<T> quantizedAvgPool(Operand<T> input, Operand<Float> minInput, Operand<Float> maxInput, List<Long> ksize, List<Long> strides, String padding)
QuantizedAvgPool
operation to the graphinput
- 4-D with shape `[batch, height, width, channels]`.minInput
- The float value that the lowest quantized input value represents.maxInput
- The float value that the highest quantized input value represents.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of the inputpadding
- The type of padding algorithm to use.org.tensorflow.op.core.QuantizedAvgPool}
public <T,U> LookupTableImport lookupTableImport(Operand<?> tableHandle, Operand<T> keys, Operand<U> values)
LookupTableImport
operation to the graphtableHandle
- Handle to the table.keys
- Any shape. Keys to look up.values
- Values to associate with keys.org.tensorflow.op.core.LookupTableImport}
public <T> SelfAdjointEig<T> selfAdjointEig(Operand<T> input, SelfAdjointEig.Options... options)
SelfAdjointEig
operation to the graphinput
- `Tensor` input of shape `[N, N]`.options
- carries optional attributes valuesorg.tensorflow.op.core.SelfAdjointEig}
public <T extends Number> SampleDistortedBoundingBox<T> sampleDistortedBoundingBox(Operand<T> imageSize, Operand<Float> boundingBoxes, SampleDistortedBoundingBox.Options... options)
SampleDistortedBoundingBox
operation to the graphimageSize
- 1-D, containing `[height, width, channels]`.boundingBoxes
- 3-D with shape `[batch, N, 4]` describing the N bounding boxesoptions
- carries optional attributes valuesorg.tensorflow.op.core.SampleDistortedBoundingBox}
public NonMaxSuppressionWithOverlaps nonMaxSuppressionWithOverlaps(Operand<Float> overlaps, Operand<Float> scores, Operand<Integer> maxOutputSize, Operand<Float> overlapThreshold, Operand<Float> scoreThreshold)
NonMaxSuppressionWithOverlaps
operation to the graphoverlaps
- A 2-D float tensor of shape `[num_boxes, num_boxes]` representingscores
- A 1-D float tensor of shape `[num_boxes]` representing a singlemaxOutputSize
- A scalar integer tensor representing the maximum number ofoverlapThreshold
- A 0-D float tensor representing the threshold for deciding whetherscoreThreshold
- A 0-D float tensor representing the threshold for deciding when to removeorg.tensorflow.op.core.NonMaxSuppressionWithOverlaps}
public <T> BatchMatrixBandPart<T> batchMatrixBandPart(Operand<T> input, Operand<Long> numLower, Operand<Long> numUpper)
BatchMatrixBandPart
operation to the graphinput
- numLower
- numUpper
- org.tensorflow.op.core.BatchMatrixBandPart}
public <T extends Number,U extends Number> SegmentMax<T> segmentMax(Operand<T> data, Operand<U> segmentIds)
SegmentMax
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'sorg.tensorflow.op.core.SegmentMax}
public SetStatsAggregatorDataset setStatsAggregatorDataset(Operand<?> inputDataset, Operand<?> statsAggregator, List<Class<?>> outputTypes, List<Shape> outputShapes)
SetStatsAggregatorDataset
operation to the graphinputDataset
- statsAggregator
- outputTypes
- outputShapes
- org.tensorflow.op.core.SetStatsAggregatorDataset}
public <T> DynamicStitch<T> dynamicStitch(Iterable<Operand<Integer>> indices, Operand<T> data)
DynamicStitch
operation to the graphindices
- data
- org.tensorflow.op.core.DynamicStitch}
public Gradients gradients(Operand<?> y, Iterable<Operand<?>> x, Gradients.Options... options)
Gradients
operation to the graphy
- output of the function to derivex
- inputs of the function for which partial derivatives are computedoptions
- carries optional attributes valuesGradients
org.tensorflow.op.core.Gradients}
public <T> ApplyGradientDescent<T> applyGradientDescent(Operand<T> var, Operand<T> alpha, Operand<T> delta, ApplyGradientDescent.Options... options)
ApplyGradientDescent
operation to the graphvar
- Should be from a Variable().alpha
- Scaling factor. Must be a scalar.delta
- The change.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyGradientDescent}
public <T extends Number> UnravelIndex<T> unravelIndex(Operand<T> indices, Operand<T> dims)
UnravelIndex
operation to the graphindices
- An 0-D or 1-D `int` Tensor whose elements are indices into thedims
- An 1-D `int` Tensor. The shape of the array to use for unravelingorg.tensorflow.op.core.UnravelIndex}
public <T extends Number> Greater greater(Operand<T> x, Operand<T> y)
Greater
operation to the graphx
- y
- org.tensorflow.op.core.Greater}
public FixedLengthRecordDataset fixedLengthRecordDataset(Operand<String> filenames, Operand<Long> headerBytes, Operand<Long> recordBytes, Operand<Long> footerBytes, Operand<Long> bufferSize)
FixedLengthRecordDataset
operation to the graphfilenames
- A scalar or a vector containing the name(s) of the file(s) to beheaderBytes
- A scalar representing the number of bytes to skip at therecordBytes
- A scalar representing the number of bytes in each record.footerBytes
- A scalar representing the number of bytes to skip at the endbufferSize
- A scalar representing the number of bytes to buffer. Must be > 0.org.tensorflow.op.core.FixedLengthRecordDataset}
public <V extends Number,T extends Number,U extends Number> RandomPoissonV2<V> randomPoissonV2(Operand<T> shape, Operand<U> rate, Class<V> dtype, RandomPoissonV2.Options... options)
RandomPoissonV2
operation to the graphshape
- 1-D integer tensor. Shape of independent samples to draw from eachrate
- A tensor in which each scalar is a "rate" parameter describing thedtype
- options
- carries optional attributes valuesorg.tensorflow.op.core.RandomPoissonV2}
public <T extends Number> Relu6<T> relu6(Operand<T> features)
Relu6
operation to the graphfeatures
- org.tensorflow.op.core.Relu6}
public FIFOQueue fIFOQueue(List<Class<?>> componentTypes, FIFOQueue.Options... options)
FIFOQueue
operation to the graphcomponentTypes
- The type of each component in a value.options
- carries optional attributes valuesorg.tensorflow.op.core.FIFOQueue}
public <T extends Number> Conv3DBackpropInput<T> conv3DBackpropInput(Operand<T> input, Operand<T> filter, Operand<T> outBackprop, List<Long> strides, String padding, Conv3DBackpropInput.Options... options)
Conv3DBackpropInput
operation to the graphinput
- Shape `[batch, depth, rows, cols, in_channels]`.filter
- Shape `[depth, rows, cols, in_channels, out_channels]`.outBackprop
- Backprop signal of shape `[batch, out_depth, out_rows, out_cols,strides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv3DBackpropInput}
public <T> PlaceholderWithDefault<T> placeholderWithDefault(Operand<T> input, Shape shape)
PlaceholderWithDefault
operation to the graphinput
- The default value to produce when `output` is not fed.shape
- The (possibly partial) shape of the tensor.org.tensorflow.op.core.PlaceholderWithDefault}
public <T extends Number> MaxPoolGradV2<T> maxPoolGradV2(Operand<T> origInput, Operand<T> origOutput, Operand<T> grad, Operand<Integer> ksize, Operand<Integer> strides, String padding, MaxPoolGradV2.Options... options)
MaxPoolGradV2
operation to the graphorigInput
- The original input tensor.origOutput
- The original output tensor.grad
- 4-D. Gradients w.r.t. the output of `max_pool`.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of thepadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPoolGradV2}
public <T extends Number> CudnnRNNParamsToCanonical<T> cudnnRNNParamsToCanonical(Operand<Integer> numLayers, Operand<Integer> numUnits, Operand<Integer> inputSize, Operand<T> params, Long numParams, CudnnRNNParamsToCanonical.Options... options)
CudnnRNNParamsToCanonical
operation to the graphnumLayers
- numUnits
- inputSize
- params
- numParams
- options
- carries optional attributes valuesorg.tensorflow.op.core.CudnnRNNParamsToCanonical}
public OrderedMapClear orderedMapClear(List<Class<?>> dtypes, OrderedMapClear.Options... options)
OrderedMapClear
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.OrderedMapClear}
public <T extends Number> BatchMatrixSolve<T> batchMatrixSolve(Operand<T> matrix, Operand<T> rhs, BatchMatrixSolve.Options... options)
BatchMatrixSolve
operation to the graphmatrix
- rhs
- options
- carries optional attributes valuesorg.tensorflow.op.core.BatchMatrixSolve}
public <T> ParseTensor<T> parseTensor(Operand<String> serialized, Class<T> outType)
ParseTensor
operation to the graphserialized
- A scalar string containing a serialized TensorProto proto.outType
- The type of the serialized tensor. The provided type must match theorg.tensorflow.op.core.ParseTensor}
public <T extends Number> IsInf isInf(Operand<T> x)
IsInf
operation to the graphx
- org.tensorflow.op.core.IsInf}
public <T> ApplyAddSign<T> applyAddSign(Operand<T> var, Operand<T> m, Operand<T> lr, Operand<T> alpha, Operand<T> signDecay, Operand<T> beta, Operand<T> grad, ApplyAddSign.Options... options)
ApplyAddSign
operation to the graphvar
- Should be from a Variable().m
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.alpha
- Must be a scalar.signDecay
- Must be a scalar.beta
- Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyAddSign}
public <T> ResourceApplyMomentum resourceApplyMomentum(Operand<?> var, Operand<?> accum, Operand<T> lr, Operand<T> grad, Operand<T> momentum, ResourceApplyMomentum.Options... options)
ResourceApplyMomentum
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.grad
- The gradient.momentum
- Momentum. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyMomentum}
public Stage stage(Iterable<Operand<?>> values, Stage.Options... options)
Stage
operation to the graphvalues
- a list of tensorsoptions
- carries optional attributes valuesorg.tensorflow.op.core.Stage}
public ConsumeMutexLock consumeMutexLock(Operand<?> mutexLock)
ConsumeMutexLock
operation to the graphmutexLock
- A tensor returned by `MutexLock`.org.tensorflow.op.core.ConsumeMutexLock}
public StatsAggregatorHandle statsAggregatorHandle(StatsAggregatorHandle.Options... options)
StatsAggregatorHandle
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.StatsAggregatorHandle}
public <T> IsVariableInitialized isVariableInitialized(Operand<T> ref)
IsVariableInitialized
operation to the graphref
- Should be from a `Variable` node. May be uninitialized.org.tensorflow.op.core.IsVariableInitialized}
public <T extends Number,U> ResourceScatterMul resourceScatterMul(Operand<?> resource, Operand<T> indices, Operand<U> updates)
ResourceScatterMul
operation to the graphresource
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.org.tensorflow.op.core.ResourceScatterMul}
public <T,U> MutableHashTableOfTensors mutableHashTableOfTensors(Class<T> keyDtype, Class<U> valueDtype, MutableHashTableOfTensors.Options... options)
MutableHashTableOfTensors
operation to the graphkeyDtype
- Type of the table keys.valueDtype
- Type of the table values.options
- carries optional attributes valuesorg.tensorflow.op.core.MutableHashTableOfTensors}
public <T extends Number> Conv2DBackpropInput<T> conv2DBackpropInput(Operand<Integer> inputSizes, Operand<T> filter, Operand<T> outBackprop, List<Long> strides, String padding, Conv2DBackpropInput.Options... options)
Conv2DBackpropInput
operation to the graphinputSizes
- An integer vector representing the shape of `input`,filter
- 4-D with shapeoutBackprop
- 4-D with shape `[batch, out_height, out_width, out_channels]`.strides
- The stride of the sliding window for each dimension of the inputpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv2DBackpropInput}
public <T> SparseFillEmptyRowsGrad<T> sparseFillEmptyRowsGrad(Operand<Long> reverseIndexMap, Operand<T> gradValues)
SparseFillEmptyRowsGrad
operation to the graphreverseIndexMap
- 1-D. The reverse index map from SparseFillEmptyRows.gradValues
- 1-D. The gradients from backprop.org.tensorflow.op.core.SparseFillEmptyRowsGrad}
public <T extends Number> SparseReduceMaxSparse<T> sparseReduceMaxSparse(Operand<Long> inputIndices, Operand<T> inputValues, Operand<Long> inputShape, Operand<Integer> reductionAxes, SparseReduceMaxSparse.Options... options)
SparseReduceMaxSparse
operation to the graphinputIndices
- 2-D. `N x R` matrix with the indices of non-empty values in ainputValues
- 1-D. `N` non-empty values corresponding to `input_indices`.inputShape
- 1-D. Shape of the input SparseTensor.reductionAxes
- 1-D. Length-`K` vector containing the reduction axes.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseReduceMaxSparse}
public <T> Cosh<T> cosh(Operand<T> x)
Cosh
operation to the graphx
- org.tensorflow.op.core.Cosh}
public <T> TensorArraySplit tensorArraySplit(Operand<?> handle, Operand<T> value, Operand<Long> lengths, Operand<Float> flowIn)
TensorArraySplit
operation to the graphhandle
- The handle to a TensorArray.value
- The concatenated tensor to write to the TensorArray.lengths
- The vector of lengths, how to split the rows of value into theflowIn
- A float scalar that enforces proper chaining of operations.org.tensorflow.op.core.TensorArraySplit}
public UniformCandidateSampler uniformCandidateSampler(Operand<Long> trueClasses, Long numTrue, Long numSampled, Boolean unique, Long rangeMax, UniformCandidateSampler.Options... options)
UniformCandidateSampler
operation to the graphtrueClasses
- A batch_size * num_true matrix, in which each row contains thenumTrue
- Number of true labels per context.numSampled
- Number of candidates to randomly sample.unique
- If unique is true, we sample with rejection, so that all sampledrangeMax
- The sampler will sample integers from the interval [0, range_max).options
- carries optional attributes valuesorg.tensorflow.op.core.UniformCandidateSampler}
public <T> MatrixSetDiag<T> matrixSetDiag(Operand<T> input, Operand<T> diagonal)
MatrixSetDiag
operation to the graphinput
- Rank `k+1`, where `k >= 1`.diagonal
- Rank `k`, where `k >= 1`.org.tensorflow.op.core.MatrixSetDiag}
public SerializeIterator serializeIterator(Operand<?> resourceHandle)
SerializeIterator
operation to the graphresourceHandle
- A handle to an iterator resource.org.tensorflow.op.core.SerializeIterator}
public AudioSpectrogram audioSpectrogram(Operand<Float> input, Long windowSize, Long stride, AudioSpectrogram.Options... options)
AudioSpectrogram
operation to the graphinput
- Float representation of audio data.windowSize
- How wide the input window is in samples. For the highest efficiencystride
- How widely apart the center of adjacent sample windows should be.options
- carries optional attributes valuesorg.tensorflow.op.core.AudioSpectrogram}
public AccumulatorSetGlobalStep accumulatorSetGlobalStep(Operand<String> handle, Operand<Long> newGlobalStep)
AccumulatorSetGlobalStep
operation to the graphhandle
- The handle to an accumulator.newGlobalStep
- The new global_step value to set.org.tensorflow.op.core.AccumulatorSetGlobalStep}
public TensorArrayGradWithShape tensorArrayGradWithShape(Operand<?> handle, Operand<Float> flowIn, Operand<Integer> shapeToPrepend, String source)
TensorArrayGradWithShape
operation to the graphhandle
- The handle to the forward TensorArray.flowIn
- A float scalar that enforces proper chaining of operations.shapeToPrepend
- An int32 vector representing a shape. Elements in the gradient accumulator willsource
- The gradient source string, used to decide which gradient TensorArrayorg.tensorflow.op.core.TensorArrayGradWithShape}
public StringSplit stringSplit(Operand<String> input, Operand<String> delimiter, StringSplit.Options... options)
StringSplit
operation to the graphinput
- 1-D. Strings to split.delimiter
- 0-D. Delimiter characters (bytes), or empty string.options
- carries optional attributes valuesorg.tensorflow.op.core.StringSplit}
public <T,U extends Number> ResourceSparseApplyProximalAdagrad resourceSparseApplyProximalAdagrad(Operand<?> var, Operand<?> accum, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> grad, Operand<U> indices, ResourceSparseApplyProximalAdagrad.Options... options)
ResourceSparseApplyProximalAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Learning rate. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyProximalAdagrad}
public ReaderNumWorkUnitsCompleted readerNumWorkUnitsCompleted(Operand<?> readerHandle)
ReaderNumWorkUnitsCompleted
operation to the graphreaderHandle
- Handle to a Reader.org.tensorflow.op.core.ReaderNumWorkUnitsCompleted}
public <T,U extends Number> PadV2<T> padV2(Operand<T> input, Operand<U> paddings, Operand<T> constantValues)
PadV2
operation to the graphinput
- paddings
- constantValues
- org.tensorflow.op.core.PadV2}
public <T extends Number,U> ResourceScatterDiv resourceScatterDiv(Operand<?> resource, Operand<T> indices, Operand<U> updates)
ResourceScatterDiv
operation to the graphresource
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.org.tensorflow.op.core.ResourceScatterDiv}
public <T extends Number,U extends Number> SparseSegmentSum<T> sparseSegmentSum(Operand<T> data, Operand<U> indices, Operand<Integer> segmentIds)
SparseSegmentSum
operation to the graphdata
- indices
- A 1-D tensor. Has same rank as `segment_ids`.segmentIds
- A 1-D tensor. Values should be sorted and can be repeated.org.tensorflow.op.core.SparseSegmentSum}
public <T,U extends Number> Sum<T> sum(Operand<T> input, Operand<U> axis, Sum.Options... options)
Sum
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Sum}
public ParseSingleExample parseSingleExample(Operand<String> serialized, Iterable<Operand<?>> denseDefaults, Long numSparse, List<String> sparseKeys, List<String> denseKeys, List<Class<?>> sparseTypes, List<Shape> denseShapes)
ParseSingleExample
operation to the graphserialized
- A vector containing a batch of binary serialized Example protos.denseDefaults
- A list of Tensors (some may be empty), whose length matchesnumSparse
- The number of sparse features to be parsed from the example. ThissparseKeys
- A list of `num_sparse` strings.denseKeys
- The keys expected in the Examples' features associated with densesparseTypes
- A list of `num_sparse` types; the data types of data in eachdenseShapes
- The shapes of data in each Feature given in dense_keys.org.tensorflow.op.core.ParseSingleExample}
public <T> Expm1<T> expm1(Operand<T> x)
Expm1
operation to the graphx
- org.tensorflow.op.core.Expm1}
public <T> SparseSlice<T> sparseSlice(Operand<Long> indices, Operand<T> values, Operand<Long> shape, Operand<Long> start, Operand<Long> size)
SparseSlice
operation to the graphindices
- 2-D tensor represents the indices of the sparse tensor.values
- 1-D tensor represents the values of the sparse tensor.shape
- 1-D. tensor represents the shape of the sparse tensor.start
- 1-D. tensor represents the start of the slice.size
- 1-D. tensor represents the size of the slice.org.tensorflow.op.core.SparseSlice}
public <T> InplaceAdd<T> inplaceAdd(Operand<T> x, Operand<Integer> i, Operand<T> v)
InplaceAdd
operation to the graphx
- A `Tensor` of type T.i
- A vector. Indices into the left-most dimension of `x`.v
- A `Tensor` of type T. Same dimension sizes as x except the first dimension, which must be the same as i's size.org.tensorflow.op.core.InplaceAdd}
public StagePeek stagePeek(Operand<Integer> index, List<Class<?>> dtypes, StagePeek.Options... options)
StagePeek
operation to the graphindex
- dtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.StagePeek}
public CTCBeamSearchDecoder cTCBeamSearchDecoder(Operand<Float> inputs, Operand<Integer> sequenceLength, Long beamWidth, Long topPaths, CTCBeamSearchDecoder.Options... options)
CTCBeamSearchDecoder
operation to the graphinputs
- 3-D, shape: `(max_time x batch_size x num_classes)`, the logits.sequenceLength
- A vector containing sequence lengths, size `(batch)`.beamWidth
- A scalar >= 0 (beam search beam width).topPaths
- A scalar >= 0, <= beam_width (controls output size).options
- carries optional attributes valuesorg.tensorflow.op.core.CTCBeamSearchDecoder}
public RFFT3D rFFT3D(Operand<Float> input, Operand<Integer> fftLength)
RFFT3D
operation to the graphinput
- A float32 tensor.fftLength
- An int32 tensor of shape [3]. The FFT length for each dimension.org.tensorflow.op.core.RFFT3D}
public <T> ResourceApplyProximalGradientDescent resourceApplyProximalGradientDescent(Operand<?> var, Operand<T> alpha, Operand<T> l1, Operand<T> l2, Operand<T> delta, ResourceApplyProximalGradientDescent.Options... options)
ResourceApplyProximalGradientDescent
operation to the graphvar
- Should be from a Variable().alpha
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.delta
- The change.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyProximalGradientDescent}
public Save save(Operand<String> filename, Operand<String> tensorNames, Iterable<Operand<?>> data)
Save
operation to the graphfilename
- Must have a single element. The name of the file to which we writetensorNames
- Shape `[N]`. The names of the tensors to be saved.data
- `N` tensors to save.org.tensorflow.op.core.Save}
public <T extends Number> Bucketize bucketize(Operand<T> input, List<Float> boundaries)
Bucketize
operation to the graphinput
- Any shape of Tensor contains with int or float type.boundaries
- A sorted list of floats gives the boundary of the buckets.org.tensorflow.op.core.Bucketize}
public ReduceJoin reduceJoin(Operand<String> inputs, Operand<Integer> reductionIndices, ReduceJoin.Options... options)
ReduceJoin
operation to the graphinputs
- The input to be joined. All reduced indices must have non-zero size.reductionIndices
- The dimensions to reduce over. Dimensions are reduced in theoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceJoin}
public <U,T extends Number> SparseTensorDenseAdd<U> sparseTensorDenseAdd(Operand<T> aIndices, Operand<U> aValues, Operand<T> aShape, Operand<U> b)
SparseTensorDenseAdd
operation to the graphaIndices
- 2-D. The `indices` of the `SparseTensor`, with shape `[nnz, ndims]`.aValues
- 1-D. The `values` of the `SparseTensor`, with shape `[nnz]`.aShape
- 1-D. The `shape` of the `SparseTensor`, with shape `[ndims]`.b
- `ndims`-D Tensor. With shape `a_shape`.org.tensorflow.op.core.SparseTensorDenseAdd}
public <T,U extends Number,V extends Number> SpaceToBatchND<T> spaceToBatchND(Operand<T> input, Operand<U> blockShape, Operand<V> paddings)
SpaceToBatchND
operation to the graphinput
- N-D with shape `input_shape = [batch] + spatial_shape + remaining_shape`,blockShape
- 1-D with shape `[M]`, all values must be >= 1.paddings
- 2-D with shape `[M, 2]`, all values must be >= 0.org.tensorflow.op.core.SpaceToBatchND}
public <T,U extends Number> Unique<T,U> unique(Operand<T> x, Class<U> outIdx)
Unique
operation to the graphx
- 1-D.outIdx
- org.tensorflow.op.core.Unique}
public <T> Log<T> log(Operand<T> x)
Log
operation to the graphx
- org.tensorflow.op.core.Log}
public ComputeAccidentalHits computeAccidentalHits(Operand<Long> trueClasses, Operand<Long> sampledCandidates, Long numTrue, ComputeAccidentalHits.Options... options)
ComputeAccidentalHits
operation to the graphtrueClasses
- The true_classes output of UnpackSparseLabels.sampledCandidates
- The sampled_candidates output of CandidateSampler.numTrue
- Number of true labels per context.options
- carries optional attributes valuesorg.tensorflow.op.core.ComputeAccidentalHits}
public <T,U extends Number> TensorListFromTensor tensorListFromTensor(Operand<T> tensor, Operand<U> elementShape)
TensorListFromTensor
operation to the graphtensor
- elementShape
- org.tensorflow.op.core.TensorListFromTensor}
public <T extends Number> Softplus<T> softplus(Operand<T> features)
Softplus
operation to the graphfeatures
- org.tensorflow.op.core.Softplus}
public <T> GuaranteeConst<T> guaranteeConst(Operand<T> input)
GuaranteeConst
operation to the graphinput
- org.tensorflow.op.core.GuaranteeConst}
public Abort abort(Abort.Options... options)
Abort
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.Abort}
public <T> BatchMatrixDeterminant<T> batchMatrixDeterminant(Operand<T> input)
BatchMatrixDeterminant
operation to the graphinput
- org.tensorflow.op.core.BatchMatrixDeterminant}
public <U extends Number,T> Angle<U> angle(Operand<T> input, Class<U> Tout)
Angle
operation to the graphinput
- Tout
- org.tensorflow.op.core.Angle}
public <T extends Number> CountUpTo<T> countUpTo(Operand<T> ref, Long limit)
CountUpTo
operation to the graphref
- Should be from a scalar `Variable` node.limit
- If incrementing ref would bring it above limit, instead generates anorg.tensorflow.op.core.CountUpTo}
public <T> TensorListPushBackBatch tensorListPushBackBatch(Operand<?> inputHandles, Operand<T> tensor)
TensorListPushBackBatch
operation to the graphinputHandles
- tensor
- org.tensorflow.op.core.TensorListPushBackBatch}
public <T> RefNextIteration<T> refNextIteration(Operand<T> data)
RefNextIteration
operation to the graphdata
- The tensor to be made available to the next iteration.org.tensorflow.op.core.RefNextIteration}
public <T> GetSessionHandleV2 getSessionHandleV2(Operand<T> value)
GetSessionHandleV2
operation to the graphvalue
- The tensor to be stored.org.tensorflow.op.core.GetSessionHandleV2}
public <T> ResourceApplyFtrl resourceApplyFtrl(Operand<?> var, Operand<?> accum, Operand<?> linear, Operand<T> grad, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> lrPower, ResourceApplyFtrl.Options... options)
ResourceApplyFtrl
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.lr
- Scaling factor. Must be a scalar.l1
- L1 regulariation. Must be a scalar.l2
- L2 regulariation. Must be a scalar.lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyFtrl}
public FakeQuantWithMinMaxVarsGradient fakeQuantWithMinMaxVarsGradient(Operand<Float> gradients, Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVarsGradient.Options... options)
FakeQuantWithMinMaxVarsGradient
operation to the graphgradients
- Backpropagated gradients above the FakeQuantWithMinMaxVars operation.inputs
- Values passed as inputs to the FakeQuantWithMinMaxVars operation.min
- max
- options
- carries optional attributes valuesorg.tensorflow.op.core.FakeQuantWithMinMaxVarsGradient}
public DeserializeIterator deserializeIterator(Operand<?> resourceHandle, Operand<?> serialized)
DeserializeIterator
operation to the graphresourceHandle
- A handle to an iterator resource.serialized
- A variant tensor storing the state of the iterator contained in theorg.tensorflow.op.core.DeserializeIterator}
public <T extends Number> ReduceAny reduceAny(Operand<Boolean> input, Operand<T> axis, ReduceAny.Options... options)
ReduceAny
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceAny}
public <T> Identity<T> identity(Operand<T> input)
Identity
operation to the graphinput
- org.tensorflow.op.core.Identity}
public <T extends Number> PopulationCount populationCount(Operand<T> x)
PopulationCount
operation to the graphx
- org.tensorflow.op.core.PopulationCount}
public RegexFullMatch regexFullMatch(Operand<String> input, Operand<String> pattern)
RegexFullMatch
operation to the graphinput
- A string tensor of the text to be processed.pattern
- A 1-D string tensor of the regular expression to match the input.org.tensorflow.op.core.RegexFullMatch}
public <T extends Number> BesselI0e<T> besselI0e(Operand<T> x)
BesselI0e
operation to the graphx
- org.tensorflow.op.core.BesselI0e}
public <U,T> QuantizedRelu<U> quantizedRelu(Operand<T> features, Operand<Float> minFeatures, Operand<Float> maxFeatures, Class<U> outType)
QuantizedRelu
operation to the graphfeatures
- minFeatures
- The float value that the lowest quantized value represents.maxFeatures
- The float value that the highest quantized value represents.outType
- org.tensorflow.op.core.QuantizedRelu}
public <T extends Number,U> TensorListReserve tensorListReserve(Operand<T> elementShape, Operand<Integer> numElements, Class<U> elementDtype)
TensorListReserve
operation to the graphelementShape
- numElements
- elementDtype
- org.tensorflow.op.core.TensorListReserve}
public <T> ResourceApplyProximalAdagrad resourceApplyProximalAdagrad(Operand<?> var, Operand<?> accum, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> grad, ResourceApplyProximalAdagrad.Options... options)
ResourceApplyProximalAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyProximalAdagrad}
public <T extends Number> Lgamma<T> lgamma(Operand<T> x)
Lgamma
operation to the graphx
- org.tensorflow.op.core.Lgamma}
public ReaderReset readerReset(Operand<?> readerHandle)
ReaderReset
operation to the graphreaderHandle
- Handle to a Reader.org.tensorflow.op.core.ReaderReset}
public <T,U> LookupTableExport<T,U> lookupTableExport(Operand<?> tableHandle, Class<T> Tkeys, Class<U> Tvalues)
LookupTableExport
operation to the graphtableHandle
- Handle to the table.Tkeys
- Tvalues
- org.tensorflow.op.core.LookupTableExport}
public FixedUnigramCandidateSampler fixedUnigramCandidateSampler(Operand<Long> trueClasses, Long numTrue, Long numSampled, Boolean unique, Long rangeMax, FixedUnigramCandidateSampler.Options... options)
FixedUnigramCandidateSampler
operation to the graphtrueClasses
- A batch_size * num_true matrix, in which each row contains thenumTrue
- Number of true labels per context.numSampled
- Number of candidates to randomly sample.unique
- If unique is true, we sample with rejection, so that all sampledrangeMax
- The sampler will sample integers from the interval [0, range_max).options
- carries optional attributes valuesorg.tensorflow.op.core.FixedUnigramCandidateSampler}
public <T,U extends Number> ScatterNdSub<T> scatterNdSub(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterNdSub.Options... options)
ScatterNdSub
operation to the graphref
- A mutable Tensor. Should be from a Variable node.indices
- A Tensor. Must be one of the following types: int32, int64.updates
- A Tensor. Must have the same type as ref. A tensor of updated valuesoptions
- carries optional attributes valuesorg.tensorflow.op.core.ScatterNdSub}
public <T> BiasAddGrad<T> biasAddGrad(Operand<T> outBackprop, BiasAddGrad.Options... options)
BiasAddGrad
operation to the graphoutBackprop
- Any number of dimensions.options
- carries optional attributes valuesorg.tensorflow.op.core.BiasAddGrad}
public <T extends Number,U> ResourceStridedSliceAssign resourceStridedSliceAssign(Operand<?> ref, Operand<T> begin, Operand<T> end, Operand<T> strides, Operand<U> value, ResourceStridedSliceAssign.Options... options)
ResourceStridedSliceAssign
operation to the graphref
- begin
- end
- strides
- value
- options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceStridedSliceAssign}
public <T> ResourceApplyAdam resourceApplyAdam(Operand<?> var, Operand<?> m, Operand<?> v, Operand<T> beta1Power, Operand<T> beta2Power, Operand<T> lr, Operand<T> beta1, Operand<T> beta2, Operand<T> epsilon, Operand<T> grad, ResourceApplyAdam.Options... options)
ResourceApplyAdam
operation to the graphvar
- Should be from a Variable().m
- Should be from a Variable().v
- Should be from a Variable().beta1Power
- Must be a scalar.beta2Power
- Must be a scalar.lr
- Scaling factor. Must be a scalar.beta1
- Momentum factor. Must be a scalar.beta2
- Momentum factor. Must be a scalar.epsilon
- Ridge term. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyAdam}
public <T extends Number> BatchCholesky<T> batchCholesky(Operand<T> input)
BatchCholesky
operation to the graphinput
- org.tensorflow.op.core.BatchCholesky}
public FeatureStatsDataset featureStatsDataset(Operand<?> inputDataset, Operand<String> tag, List<Class<?>> outputTypes, List<Shape> outputShapes)
FeatureStatsDataset
operation to the graphinputDataset
- tag
- outputTypes
- outputShapes
- org.tensorflow.op.core.FeatureStatsDataset}
public <T> MatrixSolve<T> matrixSolve(Operand<T> matrix, Operand<T> rhs, MatrixSolve.Options... options)
MatrixSolve
operation to the graphmatrix
- Shape is `[..., M, M]`.rhs
- Shape is `[..., M, K]`.options
- carries optional attributes valuesorg.tensorflow.op.core.MatrixSolve}
public DecodeCompressed decodeCompressed(Operand<String> bytes, DecodeCompressed.Options... options)
DecodeCompressed
operation to the graphbytes
- A Tensor of string which is compressed.options
- carries optional attributes valuesorg.tensorflow.op.core.DecodeCompressed}
public SparseReshape sparseReshape(Operand<Long> inputIndices, Operand<Long> inputShape, Operand<Long> newShape)
SparseReshape
operation to the graphinputIndices
- 2-D. `N x R_in` matrix with the indices of non-empty values in ainputShape
- 1-D. `R_in` vector with the input SparseTensor's dense shape.newShape
- 1-D. `R_out` vector with the requested new dense shape.org.tensorflow.op.core.SparseReshape}
public ParseExample parseExample(Operand<String> serialized, Operand<String> names, Iterable<Operand<String>> sparseKeys, Iterable<Operand<String>> denseKeys, Iterable<Operand<?>> denseDefaults, List<Class<?>> sparseTypes, List<Shape> denseShapes)
ParseExample
operation to the graphserialized
- A vector containing a batch of binary serialized Example protos.names
- A vector containing the names of the serialized protos.sparseKeys
- A list of Nsparse string Tensors (scalars).denseKeys
- A list of Ndense string Tensors (scalars).denseDefaults
- A list of Ndense Tensors (some may be empty).sparseTypes
- A list of Nsparse types; the data types of data in each FeaturedenseShapes
- A list of Ndense shapes; the shapes of data in each Featureorg.tensorflow.op.core.ParseExample}
public <T,U extends Number> SparseAdd<T> sparseAdd(Operand<Long> aIndices, Operand<T> aValues, Operand<Long> aShape, Operand<Long> bIndices, Operand<T> bValues, Operand<Long> bShape, Operand<U> thresh)
SparseAdd
operation to the graphaIndices
- 2-D. The `indices` of the first `SparseTensor`, size `[nnz, ndims]` Matrix.aValues
- 1-D. The `values` of the first `SparseTensor`, size `[nnz]` Vector.aShape
- 1-D. The `shape` of the first `SparseTensor`, size `[ndims]` Vector.bIndices
- 2-D. The `indices` of the second `SparseTensor`, size `[nnz, ndims]` Matrix.bValues
- 1-D. The `values` of the second `SparseTensor`, size `[nnz]` Vector.bShape
- 1-D. The `shape` of the second `SparseTensor`, size `[ndims]` Vector.thresh
- 0-D. The magnitude threshold that determines if an output value/indexorg.tensorflow.op.core.SparseAdd}
public <T,U extends Number> SparseApplyAdadelta<T> sparseApplyAdadelta(Operand<T> var, Operand<T> accum, Operand<T> accumUpdate, Operand<T> lr, Operand<T> rho, Operand<T> epsilon, Operand<T> grad, Operand<U> indices, SparseApplyAdadelta.Options... options)
SparseApplyAdadelta
operation to the graphvar
- accum
- Should be from a Variable().accumUpdate
- : Should be from a Variable().lr
- Learning rate. Must be a scalar.rho
- Decay factor. Must be a scalar.epsilon
- Constant factor. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyAdadelta}
public <T,U extends Number> SegmentProd<T> segmentProd(Operand<T> data, Operand<U> segmentIds)
SegmentProd
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'sorg.tensorflow.op.core.SegmentProd}
public <T extends Number> DepthwiseConv2dNativeBackpropFilter<T> depthwiseConv2dNativeBackpropFilter(Operand<T> input, Operand<Integer> filterSizes, Operand<T> outBackprop, List<Long> strides, String padding, DepthwiseConv2dNativeBackpropFilter.Options... options)
DepthwiseConv2dNativeBackpropFilter
operation to the graphinput
- 4-D with shape based on `data_format`. For example, iffilterSizes
- An integer vector representing the tensor shape of `filter`,outBackprop
- 4-D with shape based on `data_format`.strides
- The stride of the sliding window for each dimension of the inputpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.DepthwiseConv2dNativeBackpropFilter}
public <T,U extends Number> ExpandDims<T> expandDims(Operand<T> input, Operand<U> axis)
ExpandDims
operation to the graphinput
- axis
- 0-D (scalar). Specifies the dimension index at which toorg.tensorflow.op.core.ExpandDims}
public <T> TakeManySparseFromTensorsMap<T> takeManySparseFromTensorsMap(Operand<Long> sparseHandles, Class<T> dtype, TakeManySparseFromTensorsMap.Options... options)
TakeManySparseFromTensorsMap
operation to the graphsparseHandles
- 1-D, The `N` serialized `SparseTensor` objects.dtype
- The `dtype` of the `SparseTensor` objects stored in theoptions
- carries optional attributes valuesorg.tensorflow.op.core.TakeManySparseFromTensorsMap}
public <T> IFFT2D<T> iFFT2D(Operand<T> input)
IFFT2D
operation to the graphinput
- A complex64 tensor.org.tensorflow.op.core.IFFT2D}
public QueueDequeueUpTo queueDequeueUpTo(Operand<?> handle, Operand<Integer> n, List<Class<?>> componentTypes, QueueDequeueUpTo.Options... options)
QueueDequeueUpTo
operation to the graphhandle
- The handle to a queue.n
- The number of tuples to dequeue.componentTypes
- The type of each component in a tuple.options
- carries optional attributes valuesorg.tensorflow.op.core.QueueDequeueUpTo}
public OrderedMapPeek orderedMapPeek(Operand<Long> key, Operand<Integer> indices, List<Class<?>> dtypes, OrderedMapPeek.Options... options)
OrderedMapPeek
operation to the graphkey
- indices
- dtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.OrderedMapPeek}
public <T extends Number> BatchSelfAdjointEigV2<T> batchSelfAdjointEigV2(Operand<T> input, BatchSelfAdjointEigV2.Options... options)
BatchSelfAdjointEigV2
operation to the graphinput
- options
- carries optional attributes valuesorg.tensorflow.op.core.BatchSelfAdjointEigV2}
public <T extends Number> Cross<T> cross(Operand<T> a, Operand<T> b)
Cross
operation to the grapha
- A tensor containing 3-element vectors.b
- Another tensor, of same type and shape as `a`.org.tensorflow.op.core.Cross}
public <T,U extends Number> ScatterMul<T> scatterMul(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterMul.Options... options)
ScatterMul
operation to the graphref
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to multiply to `ref`.options
- carries optional attributes valuesorg.tensorflow.op.core.ScatterMul}
public <U,T> QuantizedRelu6<U> quantizedRelu6(Operand<T> features, Operand<Float> minFeatures, Operand<Float> maxFeatures, Class<U> outType)
QuantizedRelu6
operation to the graphfeatures
- minFeatures
- The float value that the lowest quantized value represents.maxFeatures
- The float value that the highest quantized value represents.outType
- org.tensorflow.op.core.QuantizedRelu6}
public <T> Exp<T> exp(Operand<T> x)
Exp
operation to the graphx
- org.tensorflow.op.core.Exp}
public ZipDataset zipDataset(Iterable<Operand<?>> inputDatasets, List<Class<?>> outputTypes, List<Shape> outputShapes)
ZipDataset
operation to the graphinputDatasets
- outputTypes
- outputShapes
- org.tensorflow.op.core.ZipDataset}
public LoopCond loopCond(Operand<Boolean> input)
LoopCond
operation to the graphinput
- A boolean scalar, representing the branch predicate of the Switch op.org.tensorflow.op.core.LoopCond}
public <T,U extends Number> ReduceProd<T> reduceProd(Operand<T> input, Operand<U> axis, ReduceProd.Options... options)
ReduceProd
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceProd}
public <T extends Number> EncodePng encodePng(Operand<T> image, EncodePng.Options... options)
EncodePng
operation to the graphimage
- 3-D with shape `[height, width, channels]`.options
- carries optional attributes valuesorg.tensorflow.op.core.EncodePng}
public <T extends Number,U extends Number,V extends Number> SparseSegmentMeanWithNumSegments<T> sparseSegmentMeanWithNumSegments(Operand<T> data, Operand<U> indices, Operand<Integer> segmentIds, Operand<V> numSegments)
SparseSegmentMeanWithNumSegments
operation to the graphdata
- indices
- A 1-D tensor. Has same rank as `segment_ids`.segmentIds
- A 1-D tensor. Values should be sorted and can be repeated.numSegments
- Should equal the number of distinct segment IDs.org.tensorflow.op.core.SparseSegmentMeanWithNumSegments}
public <T extends Number> BatchMatrixSolveLs<T> batchMatrixSolveLs(Operand<T> matrix, Operand<T> rhs, Operand<Double> l2Regularizer, BatchMatrixSolveLs.Options... options)
BatchMatrixSolveLs
operation to the graphmatrix
- rhs
- l2Regularizer
- options
- carries optional attributes valuesorg.tensorflow.op.core.BatchMatrixSolveLs}
public ParseSingleSequenceExample parseSingleSequenceExample(Operand<String> serialized, Operand<String> featureListDenseMissingAssumedEmpty, Iterable<Operand<String>> contextSparseKeys, Iterable<Operand<String>> contextDenseKeys, Iterable<Operand<String>> featureListSparseKeys, Iterable<Operand<String>> featureListDenseKeys, Iterable<Operand<?>> contextDenseDefaults, Operand<String> debugName, List<Class<?>> contextSparseTypes, List<Class<?>> featureListDenseTypes, List<Class<?>> featureListSparseTypes, ParseSingleSequenceExample.Options... options)
ParseSingleSequenceExample
operation to the graphserialized
- A scalar containing a binary serialized SequenceExample proto.featureListDenseMissingAssumedEmpty
- A vector listing thecontextSparseKeys
- A list of Ncontext_sparse string Tensors (scalars).contextDenseKeys
- A list of Ncontext_dense string Tensors (scalars).featureListSparseKeys
- A list of Nfeature_list_sparse string TensorsfeatureListDenseKeys
- A list of Nfeature_list_dense string Tensors (scalars).contextDenseDefaults
- A list of Ncontext_dense Tensors (some may be empty).debugName
- A scalar containing the name of the serialized proto.contextSparseTypes
- A list of Ncontext_sparse types; the data types of data infeatureListDenseTypes
- featureListSparseTypes
- A list of Nfeature_list_sparse types; the data typesoptions
- carries optional attributes valuesorg.tensorflow.op.core.ParseSingleSequenceExample}
public <T> ResourceApplyRMSProp resourceApplyRMSProp(Operand<?> var, Operand<?> ms, Operand<?> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, ResourceApplyRMSProp.Options... options)
ResourceApplyRMSProp
operation to the graphvar
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyRMSProp}
public FakeQuantWithMinMaxVarsPerChannelGradient fakeQuantWithMinMaxVarsPerChannelGradient(Operand<Float> gradients, Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVarsPerChannelGradient.Options... options)
FakeQuantWithMinMaxVarsPerChannelGradient
operation to the graphgradients
- Backpropagated gradients above the FakeQuantWithMinMaxVars operation,inputs
- Values passed as inputs to the FakeQuantWithMinMaxVars operation, shapemin
- max
- options
- carries optional attributes valuesorg.tensorflow.op.core.FakeQuantWithMinMaxVarsPerChannelGradient}
public <T> CompareAndBitpack compareAndBitpack(Operand<T> input, Operand<T> threshold)
CompareAndBitpack
operation to the graphinput
- Values to compare against `threshold` and bitpack.threshold
- Threshold to compare against.org.tensorflow.op.core.CompareAndBitpack}
public Unstage unstage(List<Class<?>> dtypes, Unstage.Options... options)
Unstage
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.Unstage}
public <T extends Number> InTopKV2 inTopKV2(Operand<Float> predictions, Operand<T> targets, Operand<T> k)
InTopKV2
operation to the graphpredictions
- A `batch_size` x `classes` tensor.targets
- A `batch_size` vector of class ids.k
- Number of top elements to look at for computing precision.org.tensorflow.op.core.InTopKV2}
public <T> QuantizedConcat<T> quantizedConcat(Operand<Integer> concatDim, Operand<T> values, Iterable<Operand<Float>> inputMins, Iterable<Operand<Float>> inputMaxes)
QuantizedConcat
operation to the graphconcatDim
- 0-D. The dimension along which to concatenate. Must be in thevalues
- The `N` Tensors to concatenate. Their ranks and types must match,inputMins
- The minimum scalar values for each of the input tensors.inputMaxes
- The maximum scalar values for each of the input tensors.org.tensorflow.op.core.QuantizedConcat}
public MapUnstage mapUnstage(Operand<Long> key, Operand<Integer> indices, List<Class<?>> dtypes, MapUnstage.Options... options)
MapUnstage
operation to the graphkey
- indices
- dtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.MapUnstage}
public <T> Neg<T> neg(Operand<T> x)
Neg
operation to the graphx
- org.tensorflow.op.core.Neg}
public <T extends Number> Betainc<T> betainc(Operand<T> a, Operand<T> b, Operand<T> x)
Betainc
operation to the grapha
- b
- x
- org.tensorflow.op.core.Betainc}
public <T,U extends Number> ResourceSparseApplyFtrl resourceSparseApplyFtrl(Operand<?> var, Operand<?> accum, Operand<?> linear, Operand<T> grad, Operand<U> indices, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> lrPower, ResourceSparseApplyFtrl.Options... options)
ResourceSparseApplyFtrl
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyFtrl}
public <T,U extends Number> ScatterNdAdd<T> scatterNdAdd(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterNdAdd.Options... options)
ScatterNdAdd
operation to the graphref
- A mutable Tensor. Should be from a Variable node.indices
- A Tensor. Must be one of the following types: int32, int64.updates
- A Tensor. Must have the same type as ref. A tensor of updated valuesoptions
- carries optional attributes valuesorg.tensorflow.op.core.ScatterNdAdd}
public <T extends Number> All all(Operand<Boolean> input, Operand<T> axis, All.Options... options)
All
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.All}
public <T extends Number> L2Loss<T> l2Loss(Operand<T> t)
L2Loss
operation to the grapht
- Typically 2-D, but may have any dimensions.org.tensorflow.op.core.L2Loss}
public <T,U extends Number> Max<T> max(Operand<T> input, Operand<U> axis, Max.Options... options)
Max
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Max}
public CacheDataset cacheDataset(Operand<?> inputDataset, Operand<String> filename, List<Class<?>> outputTypes, List<Shape> outputShapes)
CacheDataset
operation to the graphinputDataset
- filename
- A path on the filesystem where we should cache the dataset. Note: thisoutputTypes
- outputShapes
- org.tensorflow.op.core.CacheDataset}
public <T> QuantizedInstanceNorm<T> quantizedInstanceNorm(Operand<T> x, Operand<Float> xMin, Operand<Float> xMax, QuantizedInstanceNorm.Options... options)
QuantizedInstanceNorm
operation to the graphx
- A 4D input Tensor.xMin
- The value represented by the lowest quantized input.xMax
- The value represented by the highest quantized input.options
- carries optional attributes valuesorg.tensorflow.op.core.QuantizedInstanceNorm}
public BarrierIncompleteSize barrierIncompleteSize(Operand<String> handle)
BarrierIncompleteSize
operation to the graphhandle
- The handle to a barrier.org.tensorflow.op.core.BarrierIncompleteSize}
public IdentityN identityN(Iterable<Operand<?>> input)
IdentityN
operation to the graphinput
- org.tensorflow.op.core.IdentityN}
public <T> Asinh<T> asinh(Operand<T> x)
Asinh
operation to the graphx
- org.tensorflow.op.core.Asinh}
public <T> QuantizeV2<T> quantizeV2(Operand<Float> input, Operand<Float> minRange, Operand<Float> maxRange, Class<T> T, QuantizeV2.Options... options)
QuantizeV2
operation to the graphinput
- minRange
- The minimum scalar value possibly produced for the input.maxRange
- The maximum scalar value possibly produced for the input.T
- options
- carries optional attributes valuesorg.tensorflow.op.core.QuantizeV2}
public ExtractGlimpse extractGlimpse(Operand<Float> input, Operand<Integer> size, Operand<Float> offsets, ExtractGlimpse.Options... options)
ExtractGlimpse
operation to the graphinput
- A 4-D float tensor of shape `[batch_size, height, width, channels]`.size
- A 1-D tensor of 2 elements containing the size of the glimpsesoffsets
- A 2-D integer tensor of shape `[batch_size, 2]` containingoptions
- carries optional attributes valuesorg.tensorflow.op.core.ExtractGlimpse}
public EncodeWav encodeWav(Operand<Float> audio, Operand<Integer> sampleRate)
EncodeWav
operation to the graphaudio
- 2-D with shape `[length, channels]`.sampleRate
- Scalar containing the sample frequency.org.tensorflow.op.core.EncodeWav}
public <T,U extends Number> StridedSliceAssign<T> stridedSliceAssign(Operand<T> ref, Operand<U> begin, Operand<U> end, Operand<U> strides, Operand<T> value, StridedSliceAssign.Options... options)
StridedSliceAssign
operation to the graphref
- begin
- end
- strides
- value
- options
- carries optional attributes valuesorg.tensorflow.op.core.StridedSliceAssign}
public AdjustHue adjustHue(Operand<Float> images, Operand<Float> delta)
AdjustHue
operation to the graphimages
- Images to adjust. At least 3-D.delta
- A float delta to add to the hue.org.tensorflow.op.core.AdjustHue}
public <T> BatchMatrixSetDiag<T> batchMatrixSetDiag(Operand<T> input, Operand<T> diagonal)
BatchMatrixSetDiag
operation to the graphinput
- diagonal
- org.tensorflow.op.core.BatchMatrixSetDiag}
public <T extends Number> CudnnRNNBackprop<T> cudnnRNNBackprop(Operand<T> input, Operand<T> inputH, Operand<T> inputC, Operand<T> params, Operand<T> output, Operand<T> outputH, Operand<T> outputC, Operand<T> outputBackprop, Operand<T> outputHBackprop, Operand<T> outputCBackprop, Operand<T> reserveSpace, CudnnRNNBackprop.Options... options)
CudnnRNNBackprop
operation to the graphinput
- inputH
- inputC
- params
- output
- outputH
- outputC
- outputBackprop
- outputHBackprop
- outputCBackprop
- reserveSpace
- options
- carries optional attributes valuesorg.tensorflow.op.core.CudnnRNNBackprop}
public IteratorToStringHandle iteratorToStringHandle(Operand<?> resourceHandle)
IteratorToStringHandle
operation to the graphresourceHandle
- A handle to an iterator resource.org.tensorflow.op.core.IteratorToStringHandle}
public GcsConfigureCredentials gcsConfigureCredentials(Operand<String> json)
GcsConfigureCredentials
operation to the graphjson
- org.tensorflow.op.core.GcsConfigureCredentials}
public ConcatenateDataset concatenateDataset(Operand<?> inputDataset, Operand<?> anotherDataset, List<Class<?>> outputTypes, List<Shape> outputShapes)
ConcatenateDataset
operation to the graphinputDataset
- anotherDataset
- outputTypes
- outputShapes
- org.tensorflow.op.core.ConcatenateDataset}
public ShuffleAndRepeatDataset shuffleAndRepeatDataset(Operand<?> inputDataset, Operand<Long> bufferSize, Operand<Long> seed, Operand<Long> seed2, Operand<Long> count, List<Class<?>> outputTypes, List<Shape> outputShapes)
ShuffleAndRepeatDataset
operation to the graphinputDataset
- bufferSize
- The number of output elements to buffer in an iterator overseed
- A scalar seed for the random number generator. If either `seed` orseed2
- A second scalar seed to avoid seed collision.count
- A scalar representing the number of times the underlying datasetoutputTypes
- outputShapes
- org.tensorflow.op.core.ShuffleAndRepeatDataset}
public <U,T> Bitcast<U> bitcast(Operand<T> input, Class<U> type)
Bitcast
operation to the graphinput
- type
- org.tensorflow.op.core.Bitcast}
public MatchingFiles matchingFiles(Operand<String> pattern)
MatchingFiles
operation to the graphpattern
- Shell wildcard pattern(s). Scalar or vector of type string.org.tensorflow.op.core.MatchingFiles}
public QueueIsClosedV2 queueIsClosedV2(Operand<?> handle)
QueueIsClosedV2
operation to the graphhandle
- The handle to a queue.org.tensorflow.op.core.QueueIsClosedV2}
public ReaderRead readerRead(Operand<?> readerHandle, Operand<?> queueHandle)
ReaderRead
operation to the graphreaderHandle
- Handle to a Reader.queueHandle
- Handle to a Queue, with string work items.org.tensorflow.op.core.ReaderRead}
public <T extends Number> Polygamma<T> polygamma(Operand<T> a, Operand<T> x)
Polygamma
operation to the grapha
- x
- org.tensorflow.op.core.Polygamma}
public <T> Unbatch<T> unbatch(Operand<T> batchedTensor, Operand<Long> batchIndex, Operand<Long> id, Long timeoutMicros, Unbatch.Options... options)
Unbatch
operation to the graphbatchedTensor
- batchIndex
- id
- timeoutMicros
- options
- carries optional attributes valuesorg.tensorflow.op.core.Unbatch}
public <U,T extends Number> ScatterNd<U> scatterNd(Operand<T> indices, Operand<U> updates, Operand<T> shape)
ScatterNd
operation to the graphindices
- Index tensor.updates
- Updates to scatter into output.shape
- 1-D. The shape of the resulting tensor.org.tensorflow.op.core.ScatterNd}
public <T> ApplyMomentum<T> applyMomentum(Operand<T> var, Operand<T> accum, Operand<T> lr, Operand<T> grad, Operand<T> momentum, ApplyMomentum.Options... options)
ApplyMomentum
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.grad
- The gradient.momentum
- Momentum. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyMomentum}
public <T extends Number,U extends Number> ScatterMax<T> scatterMax(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterMax.Options... options)
ScatterMax
operation to the graphref
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to reduce into `ref`.options
- carries optional attributes valuesorg.tensorflow.op.core.ScatterMax}
public BarrierTakeMany barrierTakeMany(Operand<String> handle, Operand<Integer> numElements, List<Class<?>> componentTypes, BarrierTakeMany.Options... options)
BarrierTakeMany
operation to the graphhandle
- The handle to a barrier.numElements
- A single-element tensor containing the number of elements tocomponentTypes
- The type of each component in a value.options
- carries optional attributes valuesorg.tensorflow.op.core.BarrierTakeMany}
public <T,U extends Number> ResourceSparseApplyAdagrad resourceSparseApplyAdagrad(Operand<?> var, Operand<?> accum, Operand<T> lr, Operand<T> grad, Operand<U> indices, ResourceSparseApplyAdagrad.Options... options)
ResourceSparseApplyAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Learning rate. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyAdagrad}
public <T extends Number> Any any(Operand<Boolean> input, Operand<T> axis, Any.Options... options)
Any
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Any}
public <T> SpaceToDepth<T> spaceToDepth(Operand<T> input, Long blockSize, SpaceToDepth.Options... options)
SpaceToDepth
operation to the graphinput
- blockSize
- The size of the spatial block.options
- carries optional attributes valuesorg.tensorflow.op.core.SpaceToDepth}
public QueueIsClosed queueIsClosed(Operand<String> handle)
QueueIsClosed
operation to the graphhandle
- The handle to a queue.org.tensorflow.op.core.QueueIsClosed}
public <T extends Number> DepthwiseConv2dNativeBackpropInput<T> depthwiseConv2dNativeBackpropInput(Operand<Integer> inputSizes, Operand<T> filter, Operand<T> outBackprop, List<Long> strides, String padding, DepthwiseConv2dNativeBackpropInput.Options... options)
DepthwiseConv2dNativeBackpropInput
operation to the graphinputSizes
- An integer vector representing the shape of `input`, basedfilter
- 4-D with shapeoutBackprop
- 4-D with shape based on `data_format`.strides
- The stride of the sliding window for each dimension of the inputpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.DepthwiseConv2dNativeBackpropInput}
public <T extends Number> HSVToRGB<T> hSVToRGB(Operand<T> images)
HSVToRGB
operation to the graphimages
- 1-D or higher rank. HSV data to convert. Last dimension must be size 3.org.tensorflow.op.core.HSVToRGB}
public LookupTableSize lookupTableSize(Operand<?> tableHandle)
LookupTableSize
operation to the graphtableHandle
- Handle to the table.org.tensorflow.op.core.LookupTableSize}
public <T extends Number> Less less(Operand<T> x, Operand<T> y)
Less
operation to the graphx
- y
- org.tensorflow.op.core.Less}
public <T extends Number,U> ResourceScatterAdd resourceScatterAdd(Operand<?> resource, Operand<T> indices, Operand<U> updates)
ResourceScatterAdd
operation to the graphresource
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.org.tensorflow.op.core.ResourceScatterAdd}
public <T,U extends Number> ScatterAdd<T> scatterAdd(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterAdd.Options... options)
ScatterAdd
operation to the graphref
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.options
- carries optional attributes valuesorg.tensorflow.op.core.ScatterAdd}
public LogicalNot logicalNot(Operand<Boolean> x)
LogicalNot
operation to the graphx
- org.tensorflow.op.core.LogicalNot}
public <U,T> Cast<U> cast(Operand<T> x, Class<U> DstT)
Cast
operation to the graphx
- DstT
- org.tensorflow.op.core.Cast}
public <T> SparseAddGrad<T> sparseAddGrad(Operand<T> backpropValGrad, Operand<Long> aIndices, Operand<Long> bIndices, Operand<Long> sumIndices)
SparseAddGrad
operation to the graphbackpropValGrad
- 1-D with shape `[nnz(sum)]`. The gradient with respect toaIndices
- 2-D. The `indices` of the `SparseTensor` A, size `[nnz(A), ndims]`.bIndices
- 2-D. The `indices` of the `SparseTensor` B, size `[nnz(B), ndims]`.sumIndices
- 2-D. The `indices` of the sum `SparseTensor`, sizeorg.tensorflow.op.core.SparseAddGrad}
public <T,U extends Number> ResourceSparseApplyAdadelta resourceSparseApplyAdadelta(Operand<?> var, Operand<?> accum, Operand<?> accumUpdate, Operand<T> lr, Operand<T> rho, Operand<T> epsilon, Operand<T> grad, Operand<U> indices, ResourceSparseApplyAdadelta.Options... options)
ResourceSparseApplyAdadelta
operation to the graphvar
- accum
- Should be from a Variable().accumUpdate
- : Should be from a Variable().lr
- Learning rate. Must be a scalar.rho
- Decay factor. Must be a scalar.epsilon
- Constant factor. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyAdadelta}
public <T> MatMul<T> matMul(Operand<T> a, Operand<T> b, MatMul.Options... options)
MatMul
operation to the grapha
- b
- options
- carries optional attributes valuesorg.tensorflow.op.core.MatMul}
public <T extends Number> Softmax<T> softmax(Operand<T> logits)
Softmax
operation to the graphlogits
- 2-D with shape `[batch_size, num_classes]`.org.tensorflow.op.core.Softmax}
public MergeSummary mergeSummary(Iterable<Operand<String>> inputs)
MergeSummary
operation to the graphinputs
- Can be of any shape. Each must contain serialized `Summary` protocolorg.tensorflow.op.core.MergeSummary}
public <T> BatchSvd<T> batchSvd(Operand<T> input, BatchSvd.Options... options)
BatchSvd
operation to the graphinput
- options
- carries optional attributes valuesorg.tensorflow.op.core.BatchSvd}
public <T,U extends Number> QuantizedReshape<T> quantizedReshape(Operand<T> tensor, Operand<U> shape, Operand<Float> inputMin, Operand<Float> inputMax)
QuantizedReshape
operation to the graphtensor
- shape
- Defines the shape of the output tensor.inputMin
- The minimum value of the input.inputMax
- The maximum value of the input.org.tensorflow.op.core.QuantizedReshape}
public <T extends Number> Softsign<T> softsign(Operand<T> features)
Softsign
operation to the graphfeatures
- org.tensorflow.op.core.Softsign}
public TensorArraySize tensorArraySize(Operand<?> handle, Operand<Float> flowIn)
TensorArraySize
operation to the graphhandle
- The handle to a TensorArray (output of TensorArray or TensorArrayGrad).flowIn
- A float scalar that enforces proper chaining of operations.org.tensorflow.op.core.TensorArraySize}
public <T> MatrixExponential<T> matrixExponential(Operand<T> input)
MatrixExponential
operation to the graphinput
- Shape is `[..., M, M]`.org.tensorflow.op.core.MatrixExponential}
public <V,T,U> QuantizedConv2D<V> quantizedConv2D(Operand<T> input, Operand<U> filter, Operand<Float> minInput, Operand<Float> maxInput, Operand<Float> minFilter, Operand<Float> maxFilter, Class<V> outType, List<Long> strides, String padding, QuantizedConv2D.Options... options)
QuantizedConv2D
operation to the graphinput
- filter
- filter's input_depth dimension must match input's depth dimensions.minInput
- The float value that the lowest quantized input value represents.maxInput
- The float value that the highest quantized input value represents.minFilter
- The float value that the lowest quantized filter value represents.maxFilter
- The float value that the highest quantized filter value represents.outType
- strides
- The stride of the sliding window for each dimension of the inputpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.QuantizedConv2D}
public <T> Atan<T> atan(Operand<T> x)
Atan
operation to the graphx
- org.tensorflow.op.core.Atan}
public <T> ResourceApplyPowerSign resourceApplyPowerSign(Operand<?> var, Operand<?> m, Operand<T> lr, Operand<T> logbase, Operand<T> signDecay, Operand<T> beta, Operand<T> grad, ResourceApplyPowerSign.Options... options)
ResourceApplyPowerSign
operation to the graphvar
- Should be from a Variable().m
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.logbase
- Must be a scalar.signDecay
- Must be a scalar.beta
- Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyPowerSign}
public PriorityQueue priorityQueue(List<Class<?>> componentTypes, List<Shape> shapes, PriorityQueue.Options... options)
PriorityQueue
operation to the graphcomponentTypes
- The type of each component in a value.shapes
- The shape of each component in a value. The length of this attr mustoptions
- carries optional attributes valuesorg.tensorflow.op.core.PriorityQueue}
public <T> ResourceApplyAdagradDA resourceApplyAdagradDA(Operand<?> var, Operand<?> gradientAccumulator, Operand<?> gradientSquaredAccumulator, Operand<T> grad, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<Long> globalStep, ResourceApplyAdagradDA.Options... options)
ResourceApplyAdagradDA
operation to the graphvar
- Should be from a Variable().gradientAccumulator
- Should be from a Variable().gradientSquaredAccumulator
- Should be from a Variable().grad
- The gradient.lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.globalStep
- Training step number. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyAdagradDA}
public Constant<Float> constant(long[] shape, FloatBuffer data)
Constant
operation to the graphshape
- the tensor shape.data
- a buffer containing the tensor data.IllegalArgumentException
- If the tensor shape is not compatible with the bufferorg.tensorflow.op.core.Constant}
public RepeatDataset repeatDataset(Operand<?> inputDataset, Operand<Long> count, List<Class<?>> outputTypes, List<Shape> outputShapes)
RepeatDataset
operation to the graphinputDataset
- count
- A scalar representing the number of times that `input_dataset` shouldoutputTypes
- outputShapes
- org.tensorflow.op.core.RepeatDataset}
public PaddedBatchDataset paddedBatchDataset(Operand<?> inputDataset, Operand<Long> batchSize, Iterable<Operand<Long>> paddedShapes, Iterable<Operand<?>> paddingValues, List<Shape> outputShapes)
PaddedBatchDataset
operation to the graphinputDataset
- batchSize
- A scalar representing the number of elements to accumulate in apaddedShapes
- A list of int64 tensors representing the desired padded shapespaddingValues
- A list of scalars containing the padding value to use foroutputShapes
- org.tensorflow.op.core.PaddedBatchDataset}
public MapStage mapStage(Operand<Long> key, Operand<Integer> indices, Iterable<Operand<?>> values, List<Class<?>> dtypes, MapStage.Options... options)
MapStage
operation to the graphkey
- int64indices
- values
- a list of tensorsdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.MapStage}
public SdcaFprint sdcaFprint(Operand<String> input)
SdcaFprint
operation to the graphinput
- vector of strings to compute fingerprints on.org.tensorflow.op.core.SdcaFprint}
public OrderedMapIncompleteSize orderedMapIncompleteSize(List<Class<?>> dtypes, OrderedMapIncompleteSize.Options... options)
OrderedMapIncompleteSize
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.OrderedMapIncompleteSize}
public <T extends Number> CropAndResizeGradImage<T> cropAndResizeGradImage(Operand<Float> grads, Operand<Float> boxes, Operand<Integer> boxInd, Operand<Integer> imageSize, Class<T> T, CropAndResizeGradImage.Options... options)
CropAndResizeGradImage
operation to the graphgrads
- A 4-D tensor of shape `[num_boxes, crop_height, crop_width, depth]`.boxes
- A 2-D tensor of shape `[num_boxes, 4]`. The `i`-th row of the tensorboxInd
- A 1-D tensor of shape `[num_boxes]` with int32 values in `[0, batch)`.imageSize
- A 1-D tensor with value `[batch, image_height, image_width, depth]`T
- options
- carries optional attributes valuesorg.tensorflow.op.core.CropAndResizeGradImage}
public <T> ResourceApplyAdadelta resourceApplyAdadelta(Operand<?> var, Operand<?> accum, Operand<?> accumUpdate, Operand<T> lr, Operand<T> rho, Operand<T> epsilon, Operand<T> grad, ResourceApplyAdadelta.Options... options)
ResourceApplyAdadelta
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().accumUpdate
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay factor. Must be a scalar.epsilon
- Constant factor. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyAdadelta}
public <U,T> SerializeSparse<U> serializeSparse(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape, Class<U> outType)
SerializeSparse
operation to the graphsparseIndices
- 2-D. The `indices` of the `SparseTensor`.sparseValues
- 1-D. The `values` of the `SparseTensor`.sparseShape
- 1-D. The `shape` of the `SparseTensor`.outType
- The `dtype` to use for serialization; the supported types are `string`org.tensorflow.op.core.SerializeSparse}
public <T> AssignAdd<T> assignAdd(Operand<T> ref, Operand<T> value, AssignAdd.Options... options)
AssignAdd
operation to the graphref
- Should be from a `Variable` node.value
- The value to be added to the variable.options
- carries optional attributes valuesorg.tensorflow.op.core.AssignAdd}
public <V extends Number,T extends Number,U extends Number> StatelessMultinomial<V> statelessMultinomial(Operand<T> logits, Operand<Integer> numSamples, Operand<U> seed, Class<V> outputDtype)
StatelessMultinomial
operation to the graphlogits
- 2-D Tensor with shape `[batch_size, num_classes]`. Each slice `[i, :]`numSamples
- 0-D. Number of independent samples to draw for each row slice.seed
- 2 seeds (shape [2]).outputDtype
- org.tensorflow.op.core.StatelessMultinomial}
public <T> GetSessionTensor<T> getSessionTensor(Operand<String> handle, Class<T> dtype)
GetSessionTensor
operation to the graphhandle
- The handle for a tensor stored in the session state.dtype
- The type of the output value.org.tensorflow.op.core.GetSessionTensor}
public <T,U extends Number> SparseApplyRMSProp<T> sparseApplyRMSProp(Operand<T> var, Operand<T> ms, Operand<T> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, Operand<U> indices, SparseApplyRMSProp.Options... options)
SparseApplyRMSProp
operation to the graphvar
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var, ms and mom.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyRMSProp}
public StringToHashBucketFast stringToHashBucketFast(Operand<String> input, Long numBuckets)
StringToHashBucketFast
operation to the graphinput
- The strings to assign a hash bucket.numBuckets
- The number of buckets.org.tensorflow.op.core.StringToHashBucketFast}
public FakeQuantWithMinMaxArgsGradient fakeQuantWithMinMaxArgsGradient(Operand<Float> gradients, Operand<Float> inputs, FakeQuantWithMinMaxArgsGradient.Options... options)
FakeQuantWithMinMaxArgsGradient
operation to the graphgradients
- Backpropagated gradients above the FakeQuantWithMinMaxArgs operation.inputs
- Values passed as inputs to the FakeQuantWithMinMaxArgs operation.options
- carries optional attributes valuesorg.tensorflow.op.core.FakeQuantWithMinMaxArgsGradient}
public <T> BatchMatrixDiagPart<T> batchMatrixDiagPart(Operand<T> input)
BatchMatrixDiagPart
operation to the graphinput
- org.tensorflow.op.core.BatchMatrixDiagPart}
public LogUniformCandidateSampler logUniformCandidateSampler(Operand<Long> trueClasses, Long numTrue, Long numSampled, Boolean unique, Long rangeMax, LogUniformCandidateSampler.Options... options)
LogUniformCandidateSampler
operation to the graphtrueClasses
- A batch_size * num_true matrix, in which each row contains thenumTrue
- Number of true labels per context.numSampled
- Number of candidates to randomly sample.unique
- If unique is true, we sample with rejection, so that all sampledrangeMax
- The sampler will sample integers from the interval [0, range_max).options
- carries optional attributes valuesorg.tensorflow.op.core.LogUniformCandidateSampler}
public <T> AssignAddVariableOp assignAddVariableOp(Operand<?> resource, Operand<T> value)
AssignAddVariableOp
operation to the graphresource
- handle to the resource in which to store the variable.value
- the value by which the variable will be incremented.org.tensorflow.op.core.AssignAddVariableOp}
public SaveSlices saveSlices(Operand<String> filename, Operand<String> tensorNames, Operand<String> shapesAndSlices, Iterable<Operand<?>> data)
SaveSlices
operation to the graphfilename
- Must have a single element. The name of the file to which we write thetensorNames
- Shape `[N]`. The names of the tensors to be saved.shapesAndSlices
- Shape `[N]`. The shapes and slice specifications to use whendata
- `N` tensors to save.org.tensorflow.op.core.SaveSlices}
public <T,U extends Number> Gather<T> gather(Operand<T> params, Operand<U> indices, Gather.Options... options)
Gather
operation to the graphparams
- indices
- options
- carries optional attributes valuesorg.tensorflow.op.core.Gather}
public <V extends Number,T extends Number,U extends Number> StatelessTruncatedNormal<V> statelessTruncatedNormal(Operand<T> shape, Operand<U> seed, Class<V> dtype)
StatelessTruncatedNormal
operation to the graphshape
- The shape of the output tensor.seed
- 2 seeds (shape [2]).dtype
- The type of the output.org.tensorflow.op.core.StatelessTruncatedNormal}
public NonMaxSuppressionV3 nonMaxSuppressionV3(Operand<Float> boxes, Operand<Float> scores, Operand<Integer> maxOutputSize, Operand<Float> iouThreshold, Operand<Float> scoreThreshold)
NonMaxSuppressionV3
operation to the graphboxes
- A 2-D float tensor of shape `[num_boxes, 4]`.scores
- A 1-D float tensor of shape `[num_boxes]` representing a singlemaxOutputSize
- A scalar integer tensor representing the maximum number ofiouThreshold
- A 0-D float tensor representing the threshold for deciding whetherscoreThreshold
- A 0-D float tensor representing the threshold for deciding when to removeorg.tensorflow.op.core.NonMaxSuppressionV3}
public <T extends Number> Relu<T> relu(Operand<T> features)
Relu
operation to the graphfeatures
- org.tensorflow.op.core.Relu}
public <T> MatrixSolveLs<T> matrixSolveLs(Operand<T> matrix, Operand<T> rhs, Operand<Double> l2Regularizer, MatrixSolveLs.Options... options)
MatrixSolveLs
operation to the graphmatrix
- Shape is `[..., M, N]`.rhs
- Shape is `[..., M, K]`.l2Regularizer
- Scalar tensor.options
- carries optional attributes valuesorg.tensorflow.op.core.MatrixSolveLs}
public <T extends Number> SparseReduceMax<T> sparseReduceMax(Operand<Long> inputIndices, Operand<T> inputValues, Operand<Long> inputShape, Operand<Integer> reductionAxes, SparseReduceMax.Options... options)
SparseReduceMax
operation to the graphinputIndices
- 2-D. `N x R` matrix with the indices of non-empty values in ainputValues
- 1-D. `N` non-empty values corresponding to `input_indices`.inputShape
- 1-D. Shape of the input SparseTensor.reductionAxes
- 1-D. Length-`K` vector containing the reduction axes.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseReduceMax}
public <T> ResourceApplyGradientDescent resourceApplyGradientDescent(Operand<?> var, Operand<T> alpha, Operand<T> delta, ResourceApplyGradientDescent.Options... options)
ResourceApplyGradientDescent
operation to the graphvar
- Should be from a Variable().alpha
- Scaling factor. Must be a scalar.delta
- The change.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyGradientDescent}
public <T> MatrixDiag<T> matrixDiag(Operand<T> diagonal)
MatrixDiag
operation to the graphdiagonal
- Rank `k`, where `k >= 1`.org.tensorflow.op.core.MatrixDiag}
public <U extends Number,T> ShapeN<U> shapeN(Operand<T> input, Class<U> outType)
ShapeN
operation to the graphinput
- outType
- org.tensorflow.op.core.ShapeN}
public <T,U extends Number> SparseApplyAdagradDA<T> sparseApplyAdagradDA(Operand<T> var, Operand<T> gradientAccumulator, Operand<T> gradientSquaredAccumulator, Operand<T> grad, Operand<U> indices, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<Long> globalStep, SparseApplyAdagradDA.Options... options)
SparseApplyAdagradDA
operation to the graphvar
- Should be from a Variable().gradientAccumulator
- Should be from a Variable().gradientSquaredAccumulator
- Should be from a Variable().grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.lr
- Learning rate. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.globalStep
- Training step number. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyAdagradDA}
public StringToHashBucketStrong stringToHashBucketStrong(Operand<String> input, Long numBuckets, List<Long> key)
StringToHashBucketStrong
operation to the graphinput
- The strings to assign a hash bucket.numBuckets
- The number of buckets.key
- The key for the keyed hash function passed as a list of two uint64org.tensorflow.op.core.StringToHashBucketStrong}
public <T extends Number> FractionalMaxPool<T> fractionalMaxPool(Operand<T> value, List<Float> poolingRatio, FractionalMaxPool.Options... options)
FractionalMaxPool
operation to the graphvalue
- 4-D with shape `[batch, height, width, channels]`.poolingRatio
- Pooling ratio for each dimension of `value`, currently onlyoptions
- carries optional attributes valuesorg.tensorflow.op.core.FractionalMaxPool}
public <T,U extends Number> Pad<T> pad(Operand<T> input, Operand<U> paddings)
Pad
operation to the graphinput
- paddings
- org.tensorflow.op.core.Pad}
public AnonymousIterator anonymousIterator(List<Class<?>> outputTypes, List<Shape> outputShapes)
AnonymousIterator
operation to the graphoutputTypes
- outputShapes
- org.tensorflow.op.core.AnonymousIterator}
public <T> SparseDenseCwiseAdd<T> sparseDenseCwiseAdd(Operand<Long> spIndices, Operand<T> spValues, Operand<Long> spShape, Operand<T> dense)
SparseDenseCwiseAdd
operation to the graphspIndices
- 2-D. `N x R` matrix with the indices of non-empty values in aspValues
- 1-D. `N` non-empty values corresponding to `sp_indices`.spShape
- 1-D. Shape of the input SparseTensor.dense
- `R`-D. The dense Tensor operand.org.tensorflow.op.core.SparseDenseCwiseAdd}
public <T extends Number> DataFormatDimMap<T> dataFormatDimMap(Operand<T> x, DataFormatDimMap.Options... options)
DataFormatDimMap
operation to the graphx
- A Tensor with each element as a dimension index in source data format.options
- carries optional attributes valuesorg.tensorflow.op.core.DataFormatDimMap}
public <T extends Number> Substr substr(Operand<String> input, Operand<T> pos, Operand<T> len)
Substr
operation to the graphinput
- Tensor of stringspos
- Scalar defining the position of first character in each substringlen
- Scalar defining the number of characters to include in each substringorg.tensorflow.op.core.Substr}
public DecodeJSONExample decodeJSONExample(Operand<String> jsonExamples)
DecodeJSONExample
operation to the graphjsonExamples
- Each string is a JSON object serialized according to the JSONorg.tensorflow.op.core.DecodeJSONExample}
public <T> RandomShuffle<T> randomShuffle(Operand<T> value, RandomShuffle.Options... options)
RandomShuffle
operation to the graphvalue
- The tensor to be shuffled.options
- carries optional attributes valuesorg.tensorflow.op.core.RandomShuffle}
public <T> AccumulateNV2<T> accumulateNV2(Operand<T> inputs, Shape shape)
AccumulateNV2
operation to the graphinputs
- A list of `Tensor` objects, each with same shape and type.shape
- Shape of elements of `inputs`.org.tensorflow.op.core.AccumulateNV2}
public <U,T> QuantizedBatchNormWithGlobalNormalization<U> quantizedBatchNormWithGlobalNormalization(Operand<T> t, Operand<Float> tMin, Operand<Float> tMax, Operand<T> m, Operand<Float> mMin, Operand<Float> mMax, Operand<T> v, Operand<Float> vMin, Operand<Float> vMax, Operand<T> beta, Operand<Float> betaMin, Operand<Float> betaMax, Operand<T> gamma, Operand<Float> gammaMin, Operand<Float> gammaMax, Class<U> outType, Float varianceEpsilon, Boolean scaleAfterNormalization)
QuantizedBatchNormWithGlobalNormalization
operation to the grapht
- A 4D input Tensor.tMin
- The value represented by the lowest quantized input.tMax
- The value represented by the highest quantized input.m
- A 1D mean Tensor with size matching the last dimension of t.mMin
- The value represented by the lowest quantized mean.mMax
- The value represented by the highest quantized mean.v
- A 1D variance Tensor with size matching the last dimension of t.vMin
- The value represented by the lowest quantized variance.vMax
- The value represented by the highest quantized variance.beta
- A 1D beta Tensor with size matching the last dimension of t.betaMin
- The value represented by the lowest quantized offset.betaMax
- The value represented by the highest quantized offset.gamma
- A 1D gamma Tensor with size matching the last dimension of t.gammaMin
- The value represented by the lowest quantized gamma.gammaMax
- The value represented by the highest quantized gamma.outType
- varianceEpsilon
- A small float number to avoid dividing by 0.scaleAfterNormalization
- A bool indicating whether the resulted tensororg.tensorflow.op.core.QuantizedBatchNormWithGlobalNormalization}
public <T,U extends Number> GatherNd<T> gatherNd(Operand<T> params, Operand<U> indices)
GatherNd
operation to the graphparams
- The tensor from which to gather values.indices
- Index tensor.org.tensorflow.op.core.GatherNd}
public <T> ResourceApplyCenteredRMSProp resourceApplyCenteredRMSProp(Operand<?> var, Operand<?> mg, Operand<?> ms, Operand<?> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, ResourceApplyCenteredRMSProp.Options... options)
ResourceApplyCenteredRMSProp
operation to the graphvar
- Should be from a Variable().mg
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyCenteredRMSProp}
public <T extends Number> FusedResizeAndPadConv2D<T> fusedResizeAndPadConv2D(Operand<T> input, Operand<Integer> size, Operand<Integer> paddings, Operand<T> filter, String mode, List<Long> strides, String padding, FusedResizeAndPadConv2D.Options... options)
FusedResizeAndPadConv2D
operation to the graphinput
- 4-D with shape `[batch, in_height, in_width, in_channels]`.size
- A 1-D int32 Tensor of 2 elements: `new_height, new_width`. Thepaddings
- A two-column matrix specifying the padding sizes. The number offilter
- 4-D with shapemode
- strides
- 1-D of length 4. The stride of the sliding window for each dimensionpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.FusedResizeAndPadConv2D}
public CTCGreedyDecoder cTCGreedyDecoder(Operand<Float> inputs, Operand<Integer> sequenceLength, CTCGreedyDecoder.Options... options)
CTCGreedyDecoder
operation to the graphinputs
- 3-D, shape: `(max_time x batch_size x num_classes)`, the logits.sequenceLength
- A vector containing sequence lengths, size `(batch_size)`.options
- carries optional attributes valuesorg.tensorflow.op.core.CTCGreedyDecoder}
public <T extends Number> HistogramSummary histogramSummary(Operand<String> tag, Operand<T> values)
HistogramSummary
operation to the graphtag
- Scalar. Tag to use for the `Summary.Value`.values
- Any shape. Values to use to build the histogram.org.tensorflow.op.core.HistogramSummary}
public <U,T> Requantize<U> requantize(Operand<T> input, Operand<Float> inputMin, Operand<Float> inputMax, Operand<Float> requestedOutputMin, Operand<Float> requestedOutputMax, Class<U> outType)
Requantize
operation to the graphinput
- inputMin
- The float value that the minimum quantized input value represents.inputMax
- The float value that the maximum quantized input value represents.requestedOutputMin
- The float value that the minimum quantized output value represents.requestedOutputMax
- The float value that the maximum quantized output value represents.outType
- The type of the output. Should be a lower bit depth than Tinput.org.tensorflow.op.core.Requantize}
public <T> Sinh<T> sinh(Operand<T> x)
Sinh
operation to the graphx
- org.tensorflow.op.core.Sinh}
public <T> Rsqrt<T> rsqrt(Operand<T> x)
Rsqrt
operation to the graphx
- org.tensorflow.op.core.Rsqrt}
public <U,T extends Number> OneHot<U> oneHot(Operand<T> indices, Operand<Integer> depth, Operand<U> onValue, Operand<U> offValue, OneHot.Options... options)
OneHot
operation to the graphindices
- A tensor of indices.depth
- A scalar defining the depth of the one hot dimension.onValue
- A scalar defining the value to fill in output when `indices[j] = i`.offValue
- A scalar defining the value to fill in output when `indices[j] != i`.options
- carries optional attributes valuesorg.tensorflow.op.core.OneHot}
public <T> Sqrt<T> sqrt(Operand<T> x)
Sqrt
operation to the graphx
- org.tensorflow.op.core.Sqrt}
public <T,U extends Number,V extends Number> BatchToSpaceND<T> batchToSpaceND(Operand<T> input, Operand<U> blockShape, Operand<V> crops)
BatchToSpaceND
operation to the graphinput
- N-D with shape `input_shape = [batch] + spatial_shape + remaining_shape`,blockShape
- 1-D with shape `[M]`, all values must be >= 1.crops
- 2-D with shape `[M, 2]`, all values must be >= 0.org.tensorflow.op.core.BatchToSpaceND}
public <T> DestroyTemporaryVariable<T> destroyTemporaryVariable(Operand<T> ref, String varName)
DestroyTemporaryVariable
operation to the graphref
- A reference to the temporary variable tensor.varName
- Name of the temporary variable, usually the name of the matchingorg.tensorflow.op.core.DestroyTemporaryVariable}
public IteratorFromStringHandle iteratorFromStringHandle(Operand<String> stringHandle, List<Class<?>> outputTypes, IteratorFromStringHandle.Options... options)
IteratorFromStringHandle
operation to the graphstringHandle
- A string representation of the given handle.outputTypes
- If specified, defines the type of each tuple component in anoptions
- carries optional attributes valuesorg.tensorflow.op.core.IteratorFromStringHandle}
public <T extends Number,U> ResourceScatterUpdate resourceScatterUpdate(Operand<?> resource, Operand<T> indices, Operand<U> updates)
ResourceScatterUpdate
operation to the graphresource
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.org.tensorflow.op.core.ResourceScatterUpdate}
public <T,U extends Number> SparseApplyProximalGradientDescent<T> sparseApplyProximalGradientDescent(Operand<T> var, Operand<T> alpha, Operand<T> l1, Operand<T> l2, Operand<T> grad, Operand<U> indices, SparseApplyProximalGradientDescent.Options... options)
SparseApplyProximalGradientDescent
operation to the graphvar
- Should be from a Variable().alpha
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyProximalGradientDescent}
public <U extends Number,T extends Number> RandomUniform<U> randomUniform(Operand<T> shape, Class<U> dtype, RandomUniform.Options... options)
RandomUniform
operation to the graphshape
- The shape of the output tensor.dtype
- The type of the output.options
- carries optional attributes valuesorg.tensorflow.op.core.RandomUniform}
public <T> Add<T> add(Operand<T> x, Operand<T> y)
Add
operation to the graphx
- y
- org.tensorflow.op.core.Add}
public <T,U extends Number> BatchToSpace<T> batchToSpace(Operand<T> input, Operand<U> crops, Long blockSize)
BatchToSpace
operation to the graphinput
- 4-D tensor with shapecrops
- 2-D tensor of non-negative integers with shape `[2, 2]`. It specifiesblockSize
- org.tensorflow.op.core.BatchToSpace}
public <T extends Number> FloorMod<T> floorMod(Operand<T> x, Operand<T> y)
FloorMod
operation to the graphx
- y
- org.tensorflow.op.core.FloorMod}
public <V,T,U> QuantizedAdd<V> quantizedAdd(Operand<T> x, Operand<U> y, Operand<Float> minX, Operand<Float> maxX, Operand<Float> minY, Operand<Float> maxY, Class<V> Toutput)
QuantizedAdd
operation to the graphx
- y
- minX
- The float value that the lowest quantized `x` value represents.maxX
- The float value that the highest quantized `x` value represents.minY
- The float value that the lowest quantized `y` value represents.maxY
- The float value that the highest quantized `y` value represents.Toutput
- org.tensorflow.op.core.QuantizedAdd}
public <T> MatrixTriangularSolve<T> matrixTriangularSolve(Operand<T> matrix, Operand<T> rhs, MatrixTriangularSolve.Options... options)
MatrixTriangularSolve
operation to the graphmatrix
- Shape is `[..., M, M]`.rhs
- Shape is `[..., M, K]`.options
- carries optional attributes valuesorg.tensorflow.op.core.MatrixTriangularSolve}
public <T,V extends Number,U extends Number> UniqueV2<T,V> uniqueV2(Operand<T> x, Operand<U> axis, Class<V> outIdx)
UniqueV2
operation to the graphx
- A `Tensor`.axis
- A `Tensor` of type `int32` (default: None). The axis of the Tensor tooutIdx
- org.tensorflow.op.core.UniqueV2}
public <T extends Number> FusedBatchNorm<T> fusedBatchNorm(Operand<T> x, Operand<T> scale, Operand<T> offset, Operand<T> mean, Operand<T> variance, FusedBatchNorm.Options... options)
FusedBatchNorm
operation to the graphx
- A 4D Tensor for input data.scale
- A 1D Tensor for scaling factor, to scale the normalized x.offset
- A 1D Tensor for offset, to shift to the normalized x.mean
- A 1D Tensor for population mean. Used for inference only;variance
- A 1D Tensor for population variance. Used for inference only;options
- carries optional attributes valuesorg.tensorflow.op.core.FusedBatchNorm}
public <T> ApplyPowerSign<T> applyPowerSign(Operand<T> var, Operand<T> m, Operand<T> lr, Operand<T> logbase, Operand<T> signDecay, Operand<T> beta, Operand<T> grad, ApplyPowerSign.Options... options)
ApplyPowerSign
operation to the graphvar
- Should be from a Variable().m
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.logbase
- Must be a scalar.signDecay
- Must be a scalar.beta
- Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyPowerSign}
public FakeQuantWithMinMaxVars fakeQuantWithMinMaxVars(Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVars.Options... options)
FakeQuantWithMinMaxVars
operation to the graphinputs
- min
- max
- options
- carries optional attributes valuesorg.tensorflow.op.core.FakeQuantWithMinMaxVars}
public <T> SparseToSparseSetOperation<T> sparseToSparseSetOperation(Operand<Long> set1Indices, Operand<T> set1Values, Operand<Long> set1Shape, Operand<Long> set2Indices, Operand<T> set2Values, Operand<Long> set2Shape, String setOperation, SparseToSparseSetOperation.Options... options)
SparseToSparseSetOperation
operation to the graphset1Indices
- 2D `Tensor`, indices of a `SparseTensor`. Must be in row-majorset1Values
- 1D `Tensor`, values of a `SparseTensor`. Must be in row-majorset1Shape
- 1D `Tensor`, shape of a `SparseTensor`. `set1_shape[0...n-1]` mustset2Indices
- 2D `Tensor`, indices of a `SparseTensor`. Must be in row-majorset2Values
- 1D `Tensor`, values of a `SparseTensor`. Must be in row-majorset2Shape
- 1D `Tensor`, shape of a `SparseTensor`. `set2_shape[0...n-1]` mustsetOperation
- options
- carries optional attributes valuesorg.tensorflow.op.core.SparseToSparseSetOperation}
public <T> SparseAccumulatorApplyGradient sparseAccumulatorApplyGradient(Operand<String> handle, Operand<Long> localStep, Operand<Long> gradientIndices, Operand<T> gradientValues, Operand<Long> gradientShape, Boolean hasKnownShape)
SparseAccumulatorApplyGradient
operation to the graphhandle
- The handle to a accumulator.localStep
- The local_step value at which the sparse gradient was computed.gradientIndices
- Indices of the sparse gradient to be accumulated. Must be agradientValues
- Values are the non-zero slices of the gradient, and must havegradientShape
- Shape of the sparse gradient to be accumulated.hasKnownShape
- Boolean indicating whether gradient_shape is unknown, in whichorg.tensorflow.op.core.SparseAccumulatorApplyGradient}
public WholeFileReader wholeFileReader(WholeFileReader.Options... options)
WholeFileReader
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.WholeFileReader}
public <T extends Number> TopK<T> topK(Operand<T> input, Operand<Integer> k, TopK.Options... options)
TopK
operation to the graphinput
- 1-D or higher with last dimension at least `k`.k
- 0-D. Number of top elements to look for along the last dimension (along eachoptions
- carries optional attributes valuesorg.tensorflow.op.core.TopK}
public <U,T extends Number> SparseToDense<U> sparseToDense(Operand<T> sparseIndices, Operand<T> outputShape, Operand<U> sparseValues, Operand<U> defaultValue, SparseToDense.Options... options)
SparseToDense
operation to the graphsparseIndices
- 0-D, 1-D, or 2-D. `sparse_indices[i]` contains the completeoutputShape
- 1-D. Shape of the dense output tensor.sparseValues
- 1-D. Values corresponding to each row of `sparse_indices`,defaultValue
- Scalar value to set for indices not specified inoptions
- carries optional attributes valuesorg.tensorflow.op.core.SparseToDense}
public <T extends Number> SparseSoftmax<T> sparseSoftmax(Operand<Long> spIndices, Operand<T> spValues, Operand<Long> spShape)
SparseSoftmax
operation to the graphspIndices
- 2-D. `NNZ x R` matrix with the indices of non-empty values in aspValues
- 1-D. `NNZ` non-empty values corresponding to `sp_indices`.spShape
- 1-D. Shape of the input SparseTensor.org.tensorflow.op.core.SparseSoftmax}
public <T> Mul<T> mul(Operand<T> x, Operand<T> y)
Mul
operation to the graphx
- y
- org.tensorflow.op.core.Mul}
public <T> MatrixInverse<T> matrixInverse(Operand<T> input, MatrixInverse.Options... options)
MatrixInverse
operation to the graphinput
- Shape is `[..., M, M]`.options
- carries optional attributes valuesorg.tensorflow.op.core.MatrixInverse}
public <T,U extends Number> Cumsum<T> cumsum(Operand<T> x, Operand<U> axis, Cumsum.Options... options)
Cumsum
operation to the graphx
- A `Tensor`. Must be one of the following types: `float32`, `float64`,axis
- A `Tensor` of type `int32` (default: 0). Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Cumsum}
public <T> Qr<T> qr(Operand<T> input, Qr.Options... options)
Qr
operation to the graphinput
- A tensor of shape `[..., M, N]` whose inner-most 2 dimensionsoptions
- carries optional attributes valuesorg.tensorflow.op.core.Qr}
public ShardedFilespec shardedFilespec(Operand<String> basename, Operand<Integer> numShards)
ShardedFilespec
operation to the graphbasename
- numShards
- org.tensorflow.op.core.ShardedFilespec}
public <T extends Number> FractionalAvgPool<T> fractionalAvgPool(Operand<T> value, List<Float> poolingRatio, FractionalAvgPool.Options... options)
FractionalAvgPool
operation to the graphvalue
- 4-D with shape `[batch, height, width, channels]`.poolingRatio
- Pooling ratio for each dimension of `value`, currently onlyoptions
- carries optional attributes valuesorg.tensorflow.op.core.FractionalAvgPool}
public <T extends Number> CheckNumerics<T> checkNumerics(Operand<T> tensor, String message)
CheckNumerics
operation to the graphtensor
- message
- Prefix of the error message.org.tensorflow.op.core.CheckNumerics}
public <T extends Number> AvgPool3D<T> avgPool3D(Operand<T> input, List<Long> ksize, List<Long> strides, String padding, AvgPool3D.Options... options)
AvgPool3D
operation to the graphinput
- Shape `[batch, depth, rows, cols, channels]` tensor to pool over.ksize
- 1-D tensor of length 5. The size of the window for each dimension ofstrides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.AvgPool3D}
public <T extends Number> Elu<T> elu(Operand<T> features)
Elu
operation to the graphfeatures
- org.tensorflow.op.core.Elu}
public <T> QuantizedResizeBilinear<T> quantizedResizeBilinear(Operand<T> images, Operand<Integer> size, Operand<Float> min, Operand<Float> max, QuantizedResizeBilinear.Options... options)
QuantizedResizeBilinear
operation to the graphimages
- 4-D with shape `[batch, height, width, channels]`.size
- = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. Themin
- max
- options
- carries optional attributes valuesorg.tensorflow.op.core.QuantizedResizeBilinear}
public BytesProducedStatsDataset bytesProducedStatsDataset(Operand<?> inputDataset, Operand<String> tag, List<Class<?>> outputTypes, List<Shape> outputShapes)
BytesProducedStatsDataset
operation to the graphinputDataset
- tag
- outputTypes
- outputShapes
- org.tensorflow.op.core.BytesProducedStatsDataset}
public <T,U extends Number> Concat<T> concat(Operand<T> values, Operand<U> axis)
Concat
operation to the graphvalues
- List of `N` Tensors to concatenate. Their ranks and types must match,axis
- 0-D. The dimension along which to concatenate. Must be in theorg.tensorflow.op.core.Concat}
public <T> FloorDiv<T> floorDiv(Operand<T> x, Operand<T> y)
FloorDiv
operation to the graphx
- y
- org.tensorflow.op.core.FloorDiv}
public QueueDequeue queueDequeue(Operand<?> handle, List<Class<?>> componentTypes, QueueDequeue.Options... options)
QueueDequeue
operation to the graphhandle
- The handle to a queue.componentTypes
- The type of each component in a tuple.options
- carries optional attributes valuesorg.tensorflow.op.core.QueueDequeue}
public <T> Constant<T> constant(Object object, Class<T> type)
Constant
operation to the graphobject
- a Java object representing the constant.Tensor.create
,
org.tensorflow.op.core.Constant}
public <T> Atanh<T> atanh(Operand<T> x)
Atanh
operation to the graphx
- org.tensorflow.op.core.Atanh}
public <T> BarrierInsertMany barrierInsertMany(Operand<String> handle, Operand<String> keys, Operand<T> values, Long componentIndex)
BarrierInsertMany
operation to the graphhandle
- The handle to a barrier.keys
- A one-dimensional tensor of keys, with length n.values
- An any-dimensional tensor of values, which are associated with thecomponentIndex
- The component of the barrier elements that is being assigned.org.tensorflow.op.core.BarrierInsertMany}
public EncodeBase64 encodeBase64(Operand<String> input, EncodeBase64.Options... options)
EncodeBase64
operation to the graphinput
- Strings to be encoded.options
- carries optional attributes valuesorg.tensorflow.op.core.EncodeBase64}
public <T> AddSparseToTensorsMap addSparseToTensorsMap(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape, AddSparseToTensorsMap.Options... options)
AddSparseToTensorsMap
operation to the graphsparseIndices
- 2-D. The `indices` of the `SparseTensor`.sparseValues
- 1-D. The `values` of the `SparseTensor`.sparseShape
- 1-D. The `shape` of the `SparseTensor`.options
- carries optional attributes valuesorg.tensorflow.op.core.AddSparseToTensorsMap}
public BatchIFFT batchIFFT(Operand<?> input)
BatchIFFT
operation to the graphinput
- org.tensorflow.op.core.BatchIFFT}
public <T extends Number> IsFinite isFinite(Operand<T> x)
IsFinite
operation to the graphx
- org.tensorflow.op.core.IsFinite}
public <T extends Number> MaxPool3DGradGrad<T> maxPool3DGradGrad(Operand<T> origInput, Operand<T> origOutput, Operand<T> grad, List<Long> ksize, List<Long> strides, String padding, MaxPool3DGradGrad.Options... options)
MaxPool3DGradGrad
operation to the graphorigInput
- The original input tensor.origOutput
- The original output tensor.grad
- Output backprop of shape `[batch, depth, rows, cols, channels]`.ksize
- 1-D tensor of length 5. The size of the window for each dimension ofstrides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPool3DGradGrad}
public LearnedUnigramCandidateSampler learnedUnigramCandidateSampler(Operand<Long> trueClasses, Long numTrue, Long numSampled, Boolean unique, Long rangeMax, LearnedUnigramCandidateSampler.Options... options)
LearnedUnigramCandidateSampler
operation to the graphtrueClasses
- A batch_size * num_true matrix, in which each row contains thenumTrue
- Number of true labels per context.numSampled
- Number of candidates to randomly sample.unique
- If unique is true, we sample with rejection, so that all sampledrangeMax
- The sampler will sample integers from the interval [0, range_max).options
- carries optional attributes valuesorg.tensorflow.op.core.LearnedUnigramCandidateSampler}
public <T> Rank rank(Operand<T> input)
Rank
operation to the graphinput
- org.tensorflow.op.core.Rank}
public AdjustSaturation adjustSaturation(Operand<Float> images, Operand<Float> scale)
AdjustSaturation
operation to the graphimages
- Images to adjust. At least 3-D.scale
- A float scale to add to the saturation.org.tensorflow.op.core.AdjustSaturation}
public InitializeTableFromTextFile initializeTableFromTextFile(Operand<?> tableHandle, Operand<String> filename, Long keyIndex, Long valueIndex, InitializeTableFromTextFile.Options... options)
InitializeTableFromTextFile
operation to the graphtableHandle
- Handle to a table which will be initialized.filename
- Filename of a vocabulary text file.keyIndex
- Column index in a line to get the table `key` values from.valueIndex
- Column index that represents information of a line to get the tableoptions
- carries optional attributes valuesorg.tensorflow.op.core.InitializeTableFromTextFile}
public <T,U extends Number> Reverse<T> reverse(Operand<T> tensor, Operand<U> axis)
Reverse
operation to the graphtensor
- Up to 8-D.axis
- 1-D. The indices of the dimensions to reverse. Must be in the rangeorg.tensorflow.op.core.Reverse}
public <T extends Number> DrawBoundingBoxes<T> drawBoundingBoxes(Operand<T> images, Operand<Float> boxes)
DrawBoundingBoxes
operation to the graphimages
- 4-D with shape `[batch, height, width, depth]`. A batch of images.boxes
- 3-D with shape `[batch, num_bounding_boxes, 4]` containing boundingorg.tensorflow.op.core.DrawBoundingBoxes}
public <U extends Number,T> Real<U> real(Operand<T> input, Class<U> Tout)
Real
operation to the graphinput
- Tout
- org.tensorflow.op.core.Real}
public <U,T> LookupTableFind<U> lookupTableFind(Operand<?> tableHandle, Operand<T> keys, Operand<U> defaultValue)
LookupTableFind
operation to the graphtableHandle
- Handle to the table.keys
- Any shape. Keys to look up.defaultValue
- org.tensorflow.op.core.LookupTableFind}
public <T extends Number> DecodeRaw<T> decodeRaw(Operand<String> bytes, Class<T> outType, DecodeRaw.Options... options)
DecodeRaw
operation to the graphbytes
- All the elements must have the same length.outType
- options
- carries optional attributes valuesorg.tensorflow.op.core.DecodeRaw}
public TFRecordDataset tFRecordDataset(Operand<String> filenames, Operand<String> compressionType, Operand<Long> bufferSize)
TFRecordDataset
operation to the graphfilenames
- A scalar or vector containing the name(s) of the file(s) to becompressionType
- A scalar containing either (i) the empty string (nobufferSize
- A scalar representing the number of bytes to buffer. A value oforg.tensorflow.op.core.TFRecordDataset}
public <T extends Number> DepthwiseConv2dNative<T> depthwiseConv2dNative(Operand<T> input, Operand<T> filter, List<Long> strides, String padding, DepthwiseConv2dNative.Options... options)
DepthwiseConv2dNative
operation to the graphinput
- filter
- strides
- 1-D of length 4. The stride of the sliding window for each dimensionpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.DepthwiseConv2dNative}
public <T,U extends Number> SpaceToBatch<T> spaceToBatch(Operand<T> input, Operand<U> paddings, Long blockSize)
SpaceToBatch
operation to the graphinput
- 4-D with shape `[batch, height, width, depth]`.paddings
- 2-D tensor of non-negative integers with shape `[2, 2]`. It specifiesblockSize
- org.tensorflow.op.core.SpaceToBatch}
public <T extends Number,U extends Number> MaxPoolGradGradWithArgmax<T> maxPoolGradGradWithArgmax(Operand<T> input, Operand<T> grad, Operand<U> argmax, List<Long> ksize, List<Long> strides, String padding)
MaxPoolGradGradWithArgmax
operation to the graphinput
- The original input.grad
- 4-D with shape `[batch, height, width, channels]`. Gradients w.r.t. theargmax
- The indices of the maximum values chosen for each output of `max_pool`.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of thepadding
- The type of padding algorithm to use.org.tensorflow.op.core.MaxPoolGradGradWithArgmax}
public <T extends Number,U extends Number> SparseSoftmaxCrossEntropyWithLogits<T> sparseSoftmaxCrossEntropyWithLogits(Operand<T> features, Operand<U> labels)
SparseSoftmaxCrossEntropyWithLogits
operation to the graphfeatures
- batch_size x num_classes matrixlabels
- batch_size vector with values in [0, num_classes).org.tensorflow.op.core.SparseSoftmaxCrossEntropyWithLogits}
public <T extends Number> Ceil<T> ceil(Operand<T> x)
Ceil
operation to the graphx
- org.tensorflow.op.core.Ceil}
public ReaderRestoreState readerRestoreState(Operand<?> readerHandle, Operand<String> state)
ReaderRestoreState
operation to the graphreaderHandle
- Handle to a Reader.state
- Result of a ReaderSerializeState of a Reader with typeorg.tensorflow.op.core.ReaderRestoreState}
public <T> Multiply<T> multiply(Operand<T> x, Operand<T> y)
Multiply
operation to the graphx
- y
- org.tensorflow.op.core.Multiply}
public DecodeWav decodeWav(Operand<String> contents, DecodeWav.Options... options)
DecodeWav
operation to the graphcontents
- The WAV-encoded audio, usually from a file.options
- carries optional attributes valuesorg.tensorflow.op.core.DecodeWav}
public Batch batch(Iterable<Operand<?>> inTensors, Long numBatchThreads, Long maxBatchSize, Long batchTimeoutMicros, Long gradTimeoutMicros, Batch.Options... options)
Batch
operation to the graphinTensors
- numBatchThreads
- maxBatchSize
- batchTimeoutMicros
- gradTimeoutMicros
- options
- carries optional attributes valuesorg.tensorflow.op.core.Batch}
public MutexV2 mutexV2(MutexV2.Options... options)
MutexV2
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.MutexV2}
public <T extends Number,U extends Number> SparseSegmentMeanGrad<T> sparseSegmentMeanGrad(Operand<T> grad, Operand<U> indices, Operand<Integer> segmentIds, Operand<Integer> outputDim0)
SparseSegmentMeanGrad
operation to the graphgrad
- gradient propagated to the SparseSegmentMean op.indices
- indices passed to the corresponding SparseSegmentMean op.segmentIds
- segment_ids passed to the corresponding SparseSegmentMean op.outputDim0
- dimension 0 of "data" passed to SparseSegmentMean op.org.tensorflow.op.core.SparseSegmentMeanGrad}
public <T extends Number> SparseSparseMaximum<T> sparseSparseMaximum(Operand<Long> aIndices, Operand<T> aValues, Operand<Long> aShape, Operand<Long> bIndices, Operand<T> bValues, Operand<Long> bShape)
SparseSparseMaximum
operation to the graphaIndices
- 2-D. `N x R` matrix with the indices of non-empty values in aaValues
- 1-D. `N` non-empty values corresponding to `a_indices`.aShape
- 1-D. Shape of the input SparseTensor.bIndices
- counterpart to `a_indices` for the other operand.bValues
- counterpart to `a_values` for the other operand; must be of the same dtype.bShape
- counterpart to `a_shape` for the other operand; the two shapes must be equal.org.tensorflow.op.core.SparseSparseMaximum}
public <U,T> QuantizedReluX<U> quantizedReluX(Operand<T> features, Operand<Float> maxValue, Operand<Float> minFeatures, Operand<Float> maxFeatures, Class<U> outType)
QuantizedReluX
operation to the graphfeatures
- maxValue
- minFeatures
- The float value that the lowest quantized value represents.maxFeatures
- The float value that the highest quantized value represents.outType
- org.tensorflow.op.core.QuantizedReluX}
public SqlDataset sqlDataset(Operand<String> driverName, Operand<String> dataSourceName, Operand<String> query, List<Class<?>> outputTypes, List<Shape> outputShapes)
SqlDataset
operation to the graphdriverName
- The database type. Currently, the only supported type is 'sqlite'.dataSourceName
- A connection string to connect to the database.query
- A SQL query to execute.outputTypes
- outputShapes
- org.tensorflow.op.core.SqlDataset}
public RandomShuffleQueue randomShuffleQueue(List<Class<?>> componentTypes, RandomShuffleQueue.Options... options)
RandomShuffleQueue
operation to the graphcomponentTypes
- The type of each component in a value.options
- carries optional attributes valuesorg.tensorflow.op.core.RandomShuffleQueue}
public <U extends Number,T> Size<U> size(Operand<T> input, Class<U> outType)
Size
operation to the graphinput
- outType
- org.tensorflow.op.core.Size}
public <T extends Number> TruncateMod<T> truncateMod(Operand<T> x, Operand<T> y)
TruncateMod
operation to the graphx
- y
- org.tensorflow.op.core.TruncateMod}
public BatchIFFT2D batchIFFT2D(Operand<?> input)
BatchIFFT2D
operation to the graphinput
- org.tensorflow.op.core.BatchIFFT2D}
public <T extends Number> Mod<T> mod(Operand<T> x, Operand<T> y)
Mod
operation to the graphx
- y
- org.tensorflow.op.core.Mod}
public <T extends Number,U> EmptyTensorList emptyTensorList(Operand<T> elementShape, Class<U> elementDtype)
EmptyTensorList
operation to the graphelementShape
- elementDtype
- org.tensorflow.op.core.EmptyTensorList}
public LatencyStatsDataset latencyStatsDataset(Operand<?> inputDataset, Operand<String> tag, List<Class<?>> outputTypes, List<Shape> outputShapes)
LatencyStatsDataset
operation to the graphinputDataset
- tag
- outputTypes
- outputShapes
- org.tensorflow.op.core.LatencyStatsDataset}
public <T> TruncateDiv<T> truncateDiv(Operand<T> x, Operand<T> y)
TruncateDiv
operation to the graphx
- y
- org.tensorflow.op.core.TruncateDiv}
public <T,U extends Number> ResourceSparseApplyFtrlV2 resourceSparseApplyFtrlV2(Operand<?> var, Operand<?> accum, Operand<?> linear, Operand<T> grad, Operand<U> indices, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> l2Shrinkage, Operand<T> lrPower, ResourceSparseApplyFtrlV2.Options... options)
ResourceSparseApplyFtrlV2
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 shrinkage regulariation. Must be a scalar.l2Shrinkage
- lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyFtrlV2}
public PrependFromQueueAndPaddedBatchDataset prependFromQueueAndPaddedBatchDataset(Operand<?> inputDataset, Operand<Long> batchSize, Iterable<Operand<Long>> paddedShapes, Iterable<Operand<?>> paddingValues, List<Shape> outputShapes)
PrependFromQueueAndPaddedBatchDataset
operation to the graphinputDataset
- batchSize
- paddedShapes
- paddingValues
- outputShapes
- org.tensorflow.op.core.PrependFromQueueAndPaddedBatchDataset}
public <T> Pow<T> pow(Operand<T> x, Operand<T> y)
Pow
operation to the graphx
- y
- org.tensorflow.op.core.Pow}
public <V extends Number,T extends Number,U extends Number> StatelessRandomUniform<V> statelessRandomUniform(Operand<T> shape, Operand<U> seed, Class<V> dtype)
StatelessRandomUniform
operation to the graphshape
- The shape of the output tensor.seed
- 2 seeds (shape [2]).dtype
- The type of the output.org.tensorflow.op.core.StatelessRandomUniform}
public <T extends Number,U> ResourceScatterNdUpdate resourceScatterNdUpdate(Operand<?> ref, Operand<T> indices, Operand<U> updates, ResourceScatterNdUpdate.Options... options)
ResourceScatterNdUpdate
operation to the graphref
- A resource handle. Must be from a VarHandleOp.indices
- A Tensor. Must be one of the following types: int32, int64.updates
- A Tensor. Must have the same type as ref. A tensor of updatedoptions
- carries optional attributes valuesorg.tensorflow.op.core.ResourceScatterNdUpdate}
public BatchDataset batchDataset(Operand<?> inputDataset, Operand<Long> batchSize, List<Class<?>> outputTypes, List<Shape> outputShapes)
BatchDataset
operation to the graphinputDataset
- batchSize
- A scalar representing the number of elements to accumulate in aoutputTypes
- outputShapes
- org.tensorflow.op.core.BatchDataset}
public <T,U extends Number> Mean<T> mean(Operand<T> input, Operand<U> axis, Mean.Options... options)
Mean
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Mean}
public <T,U extends Number,V extends Number> UnsortedSegmentSum<T> unsortedSegmentSum(Operand<T> data, Operand<U> segmentIds, Operand<V> numSegments)
UnsortedSegmentSum
operation to the graphdata
- segmentIds
- A tensor whose shape is a prefix of `data.shape`.numSegments
- org.tensorflow.op.core.UnsortedSegmentSum}
public <T> AssignSubVariableOp assignSubVariableOp(Operand<?> resource, Operand<T> value)
AssignSubVariableOp
operation to the graphresource
- handle to the resource in which to store the variable.value
- the value by which the variable will be incremented.org.tensorflow.op.core.AssignSubVariableOp}
public <T> FFT3D<T> fFT3D(Operand<T> input)
FFT3D
operation to the graphinput
- A complex64 tensor.org.tensorflow.op.core.FFT3D}
public <T extends Number> CholeskyGrad<T> choleskyGrad(Operand<T> l, Operand<T> grad)
CholeskyGrad
operation to the graphl
- Output of batch Cholesky algorithm l = cholesky(A). Shape is `[..., M, M]`.grad
- df/dl where f is some scalar function. Shape is `[..., M, M]`.org.tensorflow.op.core.CholeskyGrad}
public <T,U extends Number> ReduceMean<T> reduceMean(Operand<T> input, Operand<U> axis, ReduceMean.Options... options)
ReduceMean
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceMean}
public <T extends Number> DecodePng<T> decodePng(Operand<String> contents, Class<T> dtype, DecodePng.Options... options)
DecodePng
operation to the graphcontents
- 0-D. The PNG-encoded image.dtype
- options
- carries optional attributes valuesorg.tensorflow.op.core.DecodePng}
public <T> Tan<T> tan(Operand<T> x)
Tan
operation to the graphx
- org.tensorflow.op.core.Tan}
public <T> Div<T> div(Operand<T> x, Operand<T> y)
Div
operation to the graphx
- y
- org.tensorflow.op.core.Div}
public <T> AssignVariableOp assignVariableOp(Operand<?> resource, Operand<T> value)
AssignVariableOp
operation to the graphresource
- handle to the resource in which to store the variable.value
- the value to set the new tensor to use.org.tensorflow.op.core.AssignVariableOp}
public EagerPyFunc eagerPyFunc(Iterable<Operand<?>> input, String token, List<Class<?>> Tout)
EagerPyFunc
operation to the graphinput
- token
- Tout
- org.tensorflow.op.core.EagerPyFunc}
public TensorListLength tensorListLength(Operand<?> inputHandle)
TensorListLength
operation to the graphinputHandle
- org.tensorflow.op.core.TensorListLength}
public <T> Conj<T> conj(Operand<T> input)
Conj
operation to the graphinput
- org.tensorflow.op.core.Conj}
public QueueEnqueueMany queueEnqueueMany(Operand<?> handle, Iterable<Operand<?>> components, QueueEnqueueMany.Options... options)
QueueEnqueueMany
operation to the graphhandle
- The handle to a queue.components
- One or more tensors from which the enqueued tensors shouldoptions
- carries optional attributes valuesorg.tensorflow.op.core.QueueEnqueueMany}
public <T,U extends Number> ReduceSum<T> reduceSum(Operand<T> input, Operand<U> axis, ReduceSum.Options... options)
ReduceSum
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceSum}
public NegTrain negTrain(Operand<Float> wIn, Operand<Float> wOut, Operand<Integer> examples, Operand<Integer> labels, Operand<Float> lr, List<Long> vocabCount, Long numNegativeSamples)
NegTrain
operation to the graphwIn
- input word embedding.wOut
- output word embedding.examples
- A vector of word ids.labels
- A vector of word ids.lr
- vocabCount
- Count of words in the vocabulary.numNegativeSamples
- Number of negative samples per example.org.tensorflow.op.core.NegTrain}
public <T> SparseConcat<T> sparseConcat(Iterable<Operand<Long>> indices, Operand<T> values, Iterable<Operand<Long>> shapes, Long concatDim)
SparseConcat
operation to the graphindices
- 2-D. Indices of each input `SparseTensor`.values
- 1-D. Non-empty values of each `SparseTensor`.shapes
- 1-D. Shapes of each `SparseTensor`.concatDim
- Dimension to concatenate along. Must be in range [-rank, rank),org.tensorflow.op.core.SparseConcat}
public <T extends Number> Invert<T> invert(Operand<T> x)
Invert
operation to the graphx
- org.tensorflow.op.core.Invert}
public <T extends Number,U extends Number,V extends Number> SparseSegmentSumWithNumSegments<T> sparseSegmentSumWithNumSegments(Operand<T> data, Operand<U> indices, Operand<Integer> segmentIds, Operand<V> numSegments)
SparseSegmentSumWithNumSegments
operation to the graphdata
- indices
- A 1-D tensor. Has same rank as `segment_ids`.segmentIds
- A 1-D tensor. Values should be sorted and can be repeated.numSegments
- Should equal the number of distinct segment IDs.org.tensorflow.op.core.SparseSegmentSumWithNumSegments}
public <T> SparseDenseCwiseMul<T> sparseDenseCwiseMul(Operand<Long> spIndices, Operand<T> spValues, Operand<Long> spShape, Operand<T> dense)
SparseDenseCwiseMul
operation to the graphspIndices
- 2-D. `N x R` matrix with the indices of non-empty values in aspValues
- 1-D. `N` non-empty values corresponding to `sp_indices`.spShape
- 1-D. Shape of the input SparseTensor.dense
- `R`-D. The dense Tensor operand.org.tensorflow.op.core.SparseDenseCwiseMul}
public <T extends Number> MaxPoolGradGradV2<T> maxPoolGradGradV2(Operand<T> origInput, Operand<T> origOutput, Operand<T> grad, Operand<Integer> ksize, Operand<Integer> strides, String padding, MaxPoolGradGradV2.Options... options)
MaxPoolGradGradV2
operation to the graphorigInput
- The original input tensor.origOutput
- The original output tensor.grad
- 4-D. Gradients of gradients w.r.t. the input of `max_pool`.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of thepadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPoolGradGradV2}
public <T> ApplyProximalGradientDescent<T> applyProximalGradientDescent(Operand<T> var, Operand<T> alpha, Operand<T> l1, Operand<T> l2, Operand<T> delta, ApplyProximalGradientDescent.Options... options)
ApplyProximalGradientDescent
operation to the graphvar
- Should be from a Variable().alpha
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.delta
- The change.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyProximalGradientDescent}
public <T extends Number> RGBToHSV<T> rGBToHSV(Operand<T> images)
RGBToHSV
operation to the graphimages
- 1-D or higher rank. RGB data to convert. Last dimension must be size 3.org.tensorflow.op.core.RGBToHSV}
public <T> Acosh<T> acosh(Operand<T> x)
Acosh
operation to the graphx
- org.tensorflow.op.core.Acosh}
public <T> ApplyAdadelta<T> applyAdadelta(Operand<T> var, Operand<T> accum, Operand<T> accumUpdate, Operand<T> lr, Operand<T> rho, Operand<T> epsilon, Operand<T> grad, ApplyAdadelta.Options... options)
ApplyAdadelta
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().accumUpdate
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay factor. Must be a scalar.epsilon
- Constant factor. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyAdadelta}
public <T> Acos<T> acos(Operand<T> x)
Acos
operation to the graphx
- org.tensorflow.op.core.Acos}
public <T extends Number> Conv3DBackpropFilterV2<T> conv3DBackpropFilterV2(Operand<T> input, Operand<Integer> filterSizes, Operand<T> outBackprop, List<Long> strides, String padding, Conv3DBackpropFilterV2.Options... options)
Conv3DBackpropFilterV2
operation to the graphinput
- Shape `[batch, depth, rows, cols, in_channels]`.filterSizes
- An integer vector representing the tensor shape of `filter`,outBackprop
- Backprop signal of shape `[batch, out_depth, out_rows, out_cols,strides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv3DBackpropFilterV2}
public BatchFFT batchFFT(Operand<?> input)
BatchFFT
operation to the graphinput
- org.tensorflow.op.core.BatchFFT}
public <T extends Number> FusedPadConv2D<T> fusedPadConv2D(Operand<T> input, Operand<Integer> paddings, Operand<T> filter, String mode, List<Long> strides, String padding)
FusedPadConv2D
operation to the graphinput
- 4-D with shape `[batch, in_height, in_width, in_channels]`.paddings
- A two-column matrix specifying the padding sizes. The number offilter
- 4-D with shapemode
- strides
- 1-D of length 4. The stride of the sliding window for each dimensionpadding
- The type of padding algorithm to use.org.tensorflow.op.core.FusedPadConv2D}
public <T> TensorListPopBack<T> tensorListPopBack(Operand<?> inputHandle, Class<T> elementDtype)
TensorListPopBack
operation to the graphinputHandle
- elementDtype
- org.tensorflow.op.core.TensorListPopBack}
public <T> TensorListConcatLists tensorListConcatLists(Operand<?> inputA, Operand<?> inputB, Class<T> elementDtype)
TensorListConcatLists
operation to the graphinputA
- inputB
- elementDtype
- org.tensorflow.op.core.TensorListConcatLists}
public <T> BatchMatMul<T> batchMatMul(Operand<T> x, Operand<T> y, BatchMatMul.Options... options)
BatchMatMul
operation to the graphx
- 2-D or higher with shape `[..., r_x, c_x]`.y
- 2-D or higher with shape `[..., r_y, c_y]`.options
- carries optional attributes valuesorg.tensorflow.op.core.BatchMatMul}
public StringSplitV2 stringSplitV2(Operand<String> input, Operand<String> sep, StringSplitV2.Options... options)
StringSplitV2
operation to the graphinput
- `1-D` string `Tensor`, the strings to split.sep
- `0-D` string `Tensor`, the delimiter character.options
- carries optional attributes valuesorg.tensorflow.op.core.StringSplitV2}
public Mfcc mfcc(Operand<Float> spectrogram, Operand<Integer> sampleRate, Mfcc.Options... options)
Mfcc
operation to the graphspectrogram
- Typically produced by the Spectrogram op, with magnitude_squaredsampleRate
- How many samples per second the source audio used.options
- carries optional attributes valuesorg.tensorflow.op.core.Mfcc}
public <T,U extends Number> SparseApplyFtrl<T> sparseApplyFtrl(Operand<T> var, Operand<T> accum, Operand<T> linear, Operand<T> grad, Operand<U> indices, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> lrPower, SparseApplyFtrl.Options... options)
SparseApplyFtrl
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.lr
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyFtrl}
public <T extends Number> CudnnRNNCanonicalToParams<T> cudnnRNNCanonicalToParams(Operand<Integer> numLayers, Operand<Integer> numUnits, Operand<Integer> inputSize, Operand<T> weights, Iterable<Operand<T>> biases, CudnnRNNCanonicalToParams.Options... options)
CudnnRNNCanonicalToParams
operation to the graphnumLayers
- numUnits
- inputSize
- weights
- biases
- options
- carries optional attributes valuesorg.tensorflow.op.core.CudnnRNNCanonicalToParams}
public <T extends Number> FusedBatchNormGrad<T> fusedBatchNormGrad(Operand<T> yBackprop, Operand<T> x, Operand<T> scale, Operand<T> reserveSpace1, Operand<T> reserveSpace2, FusedBatchNormGrad.Options... options)
FusedBatchNormGrad
operation to the graphyBackprop
- A 4D Tensor for the gradient with respect to y.x
- A 4D Tensor for input data.scale
- A 1D Tensor for scaling factor, to scale the normalized x.reserveSpace1
- When is_training is True, a 1D Tensor for the computed batchreserveSpace2
- When is_training is True, a 1D Tensor for the computed batchoptions
- carries optional attributes valuesorg.tensorflow.op.core.FusedBatchNormGrad}
public <T> TensorSummary tensorSummary(Operand<T> tensor, TensorSummary.Options... options)
TensorSummary
operation to the graphtensor
- A tensor to serialize.options
- carries optional attributes valuesorg.tensorflow.op.core.TensorSummary}
public <T,U extends Number> Transpose<T> transpose(Operand<T> x, Operand<U> perm)
Transpose
operation to the graphx
- perm
- org.tensorflow.op.core.Transpose}
public <T> Equal equal(Operand<T> x, Operand<T> y)
Equal
operation to the graphx
- y
- org.tensorflow.op.core.Equal}
public <T extends Number> NthElement<T> nthElement(Operand<T> input, Operand<Integer> n, NthElement.Options... options)
NthElement
operation to the graphinput
- 1-D or higher with last dimension at least `n+1`.n
- 0-D. Position of sorted vector to select along the last dimension (alongoptions
- carries optional attributes valuesorg.tensorflow.op.core.NthElement}
public DecodeGif decodeGif(Operand<String> contents)
DecodeGif
operation to the graphcontents
- 0-D. The GIF-encoded image.org.tensorflow.op.core.DecodeGif}
public <T extends Number> Erfc<T> erfc(Operand<T> x)
Erfc
operation to the graphx
- org.tensorflow.op.core.Erfc}
public <T extends Number> LessEqual lessEqual(Operand<T> x, Operand<T> y)
LessEqual
operation to the graphx
- y
- org.tensorflow.op.core.LessEqual}
public <T,U> SparseCross<T> sparseCross(Iterable<Operand<Long>> indices, Iterable<Operand<?>> values, Iterable<Operand<Long>> shapes, Iterable<Operand<?>> denseInputs, Boolean hashedOutput, Long numBuckets, Long hashKey, Class<T> outType, Class<U> internalType)
SparseCross
operation to the graphindices
- 2-D. Indices of each input `SparseTensor`.values
- 1-D. values of each `SparseTensor`.shapes
- 1-D. Shapes of each `SparseTensor`.denseInputs
- 2-D. Columns represented by dense `Tensor`.hashedOutput
- If true, returns the hash of the cross instead of the string.numBuckets
- It is used if hashed_output is true.hashKey
- Specify the hash_key that will be used by the `FingerprintCat64`outType
- internalType
- org.tensorflow.op.core.SparseCross}
public <V,T,U> QuantizedBiasAdd<V> quantizedBiasAdd(Operand<T> input, Operand<U> bias, Operand<Float> minInput, Operand<Float> maxInput, Operand<Float> minBias, Operand<Float> maxBias, Class<V> outType)
QuantizedBiasAdd
operation to the graphinput
- bias
- A 1D bias Tensor with size matching the last dimension of 'input'.minInput
- The float value that the lowest quantized input value represents.maxInput
- The float value that the highest quantized input value represents.minBias
- The float value that the lowest quantized bias value represents.maxBias
- The float value that the highest quantized bias value represents.outType
- org.tensorflow.op.core.QuantizedBiasAdd}
public <T> RealDiv<T> realDiv(Operand<T> x, Operand<T> y)
RealDiv
operation to the graphx
- y
- org.tensorflow.op.core.RealDiv}
public <T,U extends Number> SparseApplyProximalAdagrad<T> sparseApplyProximalAdagrad(Operand<T> var, Operand<T> accum, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> grad, Operand<U> indices, SparseApplyProximalAdagrad.Options... options)
SparseApplyProximalAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Learning rate. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyProximalAdagrad}
public QueueEnqueue queueEnqueue(Operand<?> handle, Iterable<Operand<?>> components, QueueEnqueue.Options... options)
QueueEnqueue
operation to the graphhandle
- The handle to a queue.components
- One or more tensors from which the enqueued tensors should be taken.options
- carries optional attributes valuesorg.tensorflow.op.core.QueueEnqueue}
public <T,U extends Number> ScatterNdNonAliasingAdd<T> scatterNdNonAliasingAdd(Operand<T> input, Operand<U> indices, Operand<T> updates)
ScatterNdNonAliasingAdd
operation to the graphinput
- A Tensor.indices
- A Tensor. Must be one of the following types: `int32`, `int64`.updates
- A Tensor. Must have the same type as ref. A tensor of updated valuesorg.tensorflow.op.core.ScatterNdNonAliasingAdd}
public IdentityReader identityReader(IdentityReader.Options... options)
IdentityReader
operation to the graphoptions
- carries optional attributes valuesorg.tensorflow.op.core.IdentityReader}
public <T extends Number> LogSoftmax<T> logSoftmax(Operand<T> logits)
LogSoftmax
operation to the graphlogits
- 2-D with shape `[batch_size, num_classes]`.org.tensorflow.op.core.LogSoftmax}
public <T> AccumulatorTakeGradient<T> accumulatorTakeGradient(Operand<String> handle, Operand<Integer> numRequired, Class<T> dtype)
AccumulatorTakeGradient
operation to the graphhandle
- The handle to an accumulator.numRequired
- Number of gradients required before we return an aggregate.dtype
- The data type of accumulated gradients. Needs to correspond to the typeorg.tensorflow.op.core.AccumulatorTakeGradient}
public BatchFFT2D batchFFT2D(Operand<?> input)
BatchFFT2D
operation to the graphinput
- org.tensorflow.op.core.BatchFFT2D}
public StringJoin stringJoin(Iterable<Operand<String>> inputs, StringJoin.Options... options)
StringJoin
operation to the graphinputs
- A list of string tensors. The tensors must all have the same shape,options
- carries optional attributes valuesorg.tensorflow.op.core.StringJoin}
public <T extends Number> Conv2DBackpropFilter<T> conv2DBackpropFilter(Operand<T> input, Operand<Integer> filterSizes, Operand<T> outBackprop, List<Long> strides, String padding, Conv2DBackpropFilter.Options... options)
Conv2DBackpropFilter
operation to the graphinput
- 4-D with shape `[batch, in_height, in_width, in_channels]`.filterSizes
- An integer vector representing the tensor shape of `filter`,outBackprop
- 4-D with shape `[batch, out_height, out_width, out_channels]`.strides
- The stride of the sliding window for each dimension of the inputpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv2DBackpropFilter}
public <T> PreventGradient<T> preventGradient(Operand<T> input, PreventGradient.Options... options)
PreventGradient
operation to the graphinput
- any tensor.options
- carries optional attributes valuesorg.tensorflow.op.core.PreventGradient}
public Iterator iterator(String sharedName, String container, List<Class<?>> outputTypes, List<Shape> outputShapes)
Iterator
operation to the graphsharedName
- container
- outputTypes
- outputShapes
- org.tensorflow.op.core.Iterator}
public <T,U> HashTable hashTable(Class<T> keyDtype, Class<U> valueDtype, HashTable.Options... options)
HashTable
operation to the graphkeyDtype
- Type of the table keys.valueDtype
- Type of the table values.options
- carries optional attributes valuesorg.tensorflow.op.core.HashTable}
public <T> AsString asString(Operand<T> input, AsString.Options... options)
AsString
operation to the graphinput
- options
- carries optional attributes valuesorg.tensorflow.op.core.AsString}
public RFFT2D rFFT2D(Operand<Float> input, Operand<Integer> fftLength)
RFFT2D
operation to the graphinput
- A float32 tensor.fftLength
- An int32 tensor of shape [2]. The FFT length for each dimension.org.tensorflow.op.core.RFFT2D}
public <T> Restore<T> restore(Operand<String> filePattern, Operand<String> tensorName, Class<T> dt, Restore.Options... options)
Restore
operation to the graphfilePattern
- Must have a single element. The pattern of the files fromtensorName
- Must have a single element. The name of the tensor to bedt
- The type of the tensor to be restored.options
- carries optional attributes valuesorg.tensorflow.op.core.Restore}
public <T,U extends Number> Reshape<T> reshape(Operand<T> tensor, Operand<U> shape)
Reshape
operation to the graphtensor
- shape
- Defines the shape of the output tensor.org.tensorflow.op.core.Reshape}
public WriteFile writeFile(Operand<String> filename, Operand<String> contents)
WriteFile
operation to the graphfilename
- scalar. The name of the file to which we write the contents.contents
- scalar. The content to be written to the output file.org.tensorflow.op.core.WriteFile}
public <T,U extends Number> Cumprod<T> cumprod(Operand<T> x, Operand<U> axis, Cumprod.Options... options)
Cumprod
operation to the graphx
- A `Tensor`. Must be one of the following types: `float32`, `float64`,axis
- A `Tensor` of type `int32` (default: 0). Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Cumprod}
public StageClear stageClear(List<Class<?>> dtypes, StageClear.Options... options)
StageClear
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.StageClear}
public <T> IFFT<T> iFFT(Operand<T> input)
IFFT
operation to the graphinput
- A complex64 tensor.org.tensorflow.op.core.IFFT}
public BigQueryReader bigQueryReader(String projectId, String datasetId, String tableId, List<String> columns, Long timestampMillis, BigQueryReader.Options... options)
BigQueryReader
operation to the graphprojectId
- GCP project ID.datasetId
- BigQuery Dataset ID.tableId
- Table to read.columns
- List of columns to read. Leave empty to read all columns.timestampMillis
- Table snapshot timestamp in millis since epoch. Relativeoptions
- carries optional attributes valuesorg.tensorflow.op.core.BigQueryReader}
public <T,U extends Number> ScatterDiv<T> scatterDiv(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterDiv.Options... options)
ScatterDiv
operation to the graphref
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of values that `ref` is divided by.options
- carries optional attributes valuesorg.tensorflow.op.core.ScatterDiv}
public <T extends Number> CropAndResize cropAndResize(Operand<T> image, Operand<Float> boxes, Operand<Integer> boxInd, Operand<Integer> cropSize, CropAndResize.Options... options)
CropAndResize
operation to the graphimage
- A 4-D tensor of shape `[batch, image_height, image_width, depth]`.boxes
- A 2-D tensor of shape `[num_boxes, 4]`. The `i`-th row of the tensorboxInd
- A 1-D tensor of shape `[num_boxes]` with int32 values in `[0, batch)`.cropSize
- A 1-D tensor of 2 elements, `size = [crop_height, crop_width]`. Alloptions
- carries optional attributes valuesorg.tensorflow.op.core.CropAndResize}
public BarrierClose barrierClose(Operand<String> handle, BarrierClose.Options... options)
BarrierClose
operation to the graphhandle
- The handle to a barrier.options
- carries optional attributes valuesorg.tensorflow.op.core.BarrierClose}
public <T> Tanh<T> tanh(Operand<T> x)
Tanh
operation to the graphx
- org.tensorflow.op.core.Tanh}
public <T> MaxPoolV2<T> maxPoolV2(Operand<T> input, Operand<Integer> ksize, Operand<Integer> strides, String padding, MaxPoolV2.Options... options)
MaxPoolV2
operation to the graphinput
- 4-D input to pool over.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of thepadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPoolV2}
public <T> BatchNormWithGlobalNormalizationGrad<T> batchNormWithGlobalNormalizationGrad(Operand<T> t, Operand<T> m, Operand<T> v, Operand<T> gamma, Operand<T> backprop, Float varianceEpsilon, Boolean scaleAfterNormalization)
BatchNormWithGlobalNormalizationGrad
operation to the grapht
- A 4D input Tensor.m
- A 1D mean Tensor with size matching the last dimension of t.v
- A 1D variance Tensor with size matching the last dimension of t.gamma
- A 1D gamma Tensor with size matching the last dimension of t.backprop
- 4D backprop Tensor.varianceEpsilon
- A small float number to avoid dividing by 0.scaleAfterNormalization
- A bool indicating whether the resulted tensororg.tensorflow.op.core.BatchNormWithGlobalNormalizationGrad}
public ShuffleDataset shuffleDataset(Operand<?> inputDataset, Operand<Long> bufferSize, Operand<Long> seed, Operand<Long> seed2, List<Class<?>> outputTypes, List<Shape> outputShapes, ShuffleDataset.Options... options)
ShuffleDataset
operation to the graphinputDataset
- bufferSize
- The number of output elements to buffer in an iterator overseed
- A scalar seed for the random number generator. If either `seed` orseed2
- A second scalar seed to avoid seed collision.outputTypes
- outputShapes
- options
- carries optional attributes valuesorg.tensorflow.op.core.ShuffleDataset}
public <T> DebugGradientIdentity<T> debugGradientIdentity(Operand<T> input)
DebugGradientIdentity
operation to the graphinput
- org.tensorflow.op.core.DebugGradientIdentity}
public <T> ClipByValue<T> clipByValue(Operand<T> t, Operand<T> clipValueMin, Operand<T> clipValueMax)
ClipByValue
operation to the grapht
- A `Tensor`.clipValueMin
- A 0-D (scalar) `Tensor`, or a `Tensor` with the same shapeclipValueMax
- A 0-D (scalar) `Tensor`, or a `Tensor` with the same shapeorg.tensorflow.op.core.ClipByValue}
public <T extends Number> BitwiseAnd<T> bitwiseAnd(Operand<T> x, Operand<T> y)
BitwiseAnd
operation to the graphx
- y
- org.tensorflow.op.core.BitwiseAnd}
public TextLineDataset textLineDataset(Operand<String> filenames, Operand<String> compressionType, Operand<Long> bufferSize)
TextLineDataset
operation to the graphfilenames
- A scalar or a vector containing the name(s) of the file(s) to becompressionType
- A scalar containing either (i) the empty string (nobufferSize
- A scalar containing the number of bytes to buffer.org.tensorflow.op.core.TextLineDataset}
public <T> RefSwitch<T> refSwitch(Operand<T> data, Operand<Boolean> pred)
RefSwitch
operation to the graphdata
- The ref tensor to be forwarded to the appropriate output.pred
- A scalar that specifies which output port will receive data.org.tensorflow.op.core.RefSwitch}
public <T,U extends Number> ScatterNdUpdate<T> scatterNdUpdate(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterNdUpdate.Options... options)
ScatterNdUpdate
operation to the graphref
- A mutable Tensor. Should be from a Variable node.indices
- A Tensor. Must be one of the following types: int32, int64.updates
- A Tensor. Must have the same type as ref. A tensor of updatedoptions
- carries optional attributes valuesorg.tensorflow.op.core.ScatterNdUpdate}
public <T extends Number,U extends Number> LinSpace<T> linSpace(Operand<T> start, Operand<T> stop, Operand<U> num)
LinSpace
operation to the graphstart
- 0-D tensor. First entry in the range.stop
- 0-D tensor. Last entry in the range.num
- 0-D tensor. Number of values to generate.org.tensorflow.op.core.LinSpace}
public <T> RefSelect<T> refSelect(Operand<Integer> index, Operand<T> inputs)
RefSelect
operation to the graphindex
- A scalar that determines the input that gets selected.inputs
- A list of ref tensors, one of which will be forwarded to `output`.org.tensorflow.op.core.RefSelect}
public Rpc rpc(Operand<String> address, Operand<String> method, Operand<String> request, Rpc.Options... options)
Rpc
operation to the graphaddress
- `0-D` or `1-D`. The address (i.e. host_name:port) of the RPC server.method
- `0-D` or `1-D`. The method address on the RPC server.request
- `0-D` or `1-D`. Serialized proto strings: the rpc request argument.options
- carries optional attributes valuesorg.tensorflow.op.core.Rpc}
public <T,U extends Number> ConjugateTranspose<T> conjugateTranspose(Operand<T> x, Operand<U> perm)
ConjugateTranspose
operation to the graphx
- perm
- org.tensorflow.op.core.ConjugateTranspose}
public TensorArrayGrad tensorArrayGrad(Operand<?> handle, Operand<Float> flowIn, String source)
TensorArrayGrad
operation to the graphhandle
- The handle to the forward TensorArray.flowIn
- A float scalar that enforces proper chaining of operations.source
- The gradient source string, used to decide which gradient TensorArrayorg.tensorflow.op.core.TensorArrayGrad}
public <T> Round<T> round(Operand<T> x)
Round
operation to the graphx
- org.tensorflow.op.core.Round}
public <T> Dequantize dequantize(Operand<T> input, Operand<Float> minRange, Operand<Float> maxRange, Dequantize.Options... options)
Dequantize
operation to the graphinput
- minRange
- The minimum scalar value possibly produced for the input.maxRange
- The maximum scalar value possibly produced for the input.options
- carries optional attributes valuesorg.tensorflow.op.core.Dequantize}
public <U,T> DeserializeSparse<U> deserializeSparse(Operand<T> serializedSparse, Class<U> dtype)
DeserializeSparse
operation to the graphserializedSparse
- The serialized `SparseTensor` objects. The last dimensiondtype
- The `dtype` of the serialized `SparseTensor` objects.org.tensorflow.op.core.DeserializeSparse}
public <T> NotEqual notEqual(Operand<T> x, Operand<T> y)
NotEqual
operation to the graphx
- y
- org.tensorflow.op.core.NotEqual}
public <T> PlaceholderV2<T> placeholderV2(Class<T> dtype, Shape shape)
PlaceholderV2
operation to the graphdtype
- The type of elements in the tensor.shape
- The shape of the tensor. The shape can be any partially-specifiedorg.tensorflow.op.core.PlaceholderV2}
public <V extends Number,T,U extends Number> ArgMax<V> argMax(Operand<T> input, Operand<U> dimension, Class<V> outputType)
ArgMax
operation to the graphinput
- dimension
- int32 or int64, must be in the range `[-rank(input), rank(input))`.outputType
- org.tensorflow.op.core.ArgMax}
public <T> Snapshot<T> snapshot(Operand<T> input)
Snapshot
operation to the graphinput
- org.tensorflow.op.core.Snapshot}
public NonMaxSuppression nonMaxSuppression(Operand<Float> boxes, Operand<Float> scores, Operand<Integer> maxOutputSize, NonMaxSuppression.Options... options)
NonMaxSuppression
operation to the graphboxes
- A 2-D float tensor of shape `[num_boxes, 4]`.scores
- A 1-D float tensor of shape `[num_boxes]` representing a singlemaxOutputSize
- A scalar integer tensor representing the maximum number ofoptions
- carries optional attributes valuesorg.tensorflow.op.core.NonMaxSuppression}
public ControlTrigger controlTrigger()
ControlTrigger
operation to the graphorg.tensorflow.op.core.ControlTrigger}
public <T> Print<T> print(Operand<T> input, Iterable<Operand<?>> data, Print.Options... options)
Print
operation to the graphinput
- The tensor passed to `output`data
- A list of tensors to print out when op is evaluated.options
- carries optional attributes valuesorg.tensorflow.op.core.Print}
public DenseToSparseBatchDataset denseToSparseBatchDataset(Operand<?> inputDataset, Operand<Long> batchSize, Operand<Long> rowShape, List<Class<?>> outputTypes, List<Shape> outputShapes)
DenseToSparseBatchDataset
operation to the graphinputDataset
- A handle to an input dataset. Must have a single component.batchSize
- A scalar representing the number of elements to accumulate in arowShape
- A vector representing the dense shape of each row in the producedoutputTypes
- outputShapes
- org.tensorflow.op.core.DenseToSparseBatchDataset}
public LogicalOr logicalOr(Operand<Boolean> x, Operand<Boolean> y)
LogicalOr
operation to the graphx
- y
- org.tensorflow.op.core.LogicalOr}
public RangeDataset rangeDataset(Operand<Long> start, Operand<Long> stop, Operand<Long> step, List<Class<?>> outputTypes, List<Shape> outputShapes)
RangeDataset
operation to the graphstart
- corresponds to start in python's xrange().stop
- corresponds to stop in python's xrange().step
- corresponds to step in python's xrange().outputTypes
- outputShapes
- org.tensorflow.op.core.RangeDataset}
public <T> AddManySparseToTensorsMap addManySparseToTensorsMap(Operand<Long> sparseIndices, Operand<T> sparseValues, Operand<Long> sparseShape, AddManySparseToTensorsMap.Options... options)
AddManySparseToTensorsMap
operation to the graphsparseIndices
- 2-D. The `indices` of the minibatch `SparseTensor`.sparseValues
- 1-D. The `values` of the minibatch `SparseTensor`.sparseShape
- 1-D. The `shape` of the minibatch `SparseTensor`.options
- carries optional attributes valuesorg.tensorflow.op.core.AddManySparseToTensorsMap}
public <T> StopGradient<T> stopGradient(Operand<T> input)
StopGradient
operation to the graphinput
- org.tensorflow.op.core.StopGradient}
public <T extends Number> ResizeArea resizeArea(Operand<T> images, Operand<Integer> size, ResizeArea.Options... options)
ResizeArea
operation to the graphimages
- 4-D with shape `[batch, height, width, channels]`.size
- = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. Theoptions
- carries optional attributes valuesorg.tensorflow.op.core.ResizeArea}
public <T> DenseToSparseSetOperation<T> denseToSparseSetOperation(Operand<T> set1, Operand<Long> set2Indices, Operand<T> set2Values, Operand<Long> set2Shape, String setOperation, DenseToSparseSetOperation.Options... options)
DenseToSparseSetOperation
operation to the graphset1
- `Tensor` with rank `n`. 1st `n-1` dimensions must be the same as `set2`.set2Indices
- 2D `Tensor`, indices of a `SparseTensor`. Must be in row-majorset2Values
- 1D `Tensor`, values of a `SparseTensor`. Must be in row-majorset2Shape
- 1D `Tensor`, shape of a `SparseTensor`. `set2_shape[0...n-1]` mustsetOperation
- options
- carries optional attributes valuesorg.tensorflow.op.core.DenseToSparseSetOperation}
public <T extends Number,U extends Number> SegmentMin<T> segmentMin(Operand<T> data, Operand<U> segmentIds)
SegmentMin
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'sorg.tensorflow.op.core.SegmentMin}
public <T> Sigmoid<T> sigmoid(Operand<T> x)
Sigmoid
operation to the graphx
- org.tensorflow.op.core.Sigmoid}
public <U extends Number,T> Imag<U> imag(Operand<T> input, Class<U> Tout)
Imag
operation to the graphinput
- Tout
- org.tensorflow.op.core.Imag}
public <T> SparseReduceSum<T> sparseReduceSum(Operand<Long> inputIndices, Operand<T> inputValues, Operand<Long> inputShape, Operand<Integer> reductionAxes, SparseReduceSum.Options... options)
SparseReduceSum
operation to the graphinputIndices
- 2-D. `N x R` matrix with the indices of non-empty values in ainputValues
- 1-D. `N` non-empty values corresponding to `input_indices`.inputShape
- 1-D. Shape of the input SparseTensor.reductionAxes
- 1-D. Length-`K` vector containing the reduction axes.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseReduceSum}
public <T> ResourceApplyAdagrad resourceApplyAdagrad(Operand<?> var, Operand<?> accum, Operand<T> lr, Operand<T> grad, ResourceApplyAdagrad.Options... options)
ResourceApplyAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyAdagrad}
public <T extends Number> Dilation2D<T> dilation2D(Operand<T> input, Operand<T> filter, List<Long> strides, List<Long> rates, String padding)
Dilation2D
operation to the graphinput
- 4-D with shape `[batch, in_height, in_width, depth]`.filter
- 3-D with shape `[filter_height, filter_width, depth]`.strides
- The stride of the sliding window for each dimension of the inputrates
- The input stride for atrous morphological dilation. Must be:padding
- The type of padding algorithm to use.org.tensorflow.op.core.Dilation2D}
public TakeDataset takeDataset(Operand<?> inputDataset, Operand<Long> count, List<Class<?>> outputTypes, List<Shape> outputShapes)
TakeDataset
operation to the graphinputDataset
- count
- A scalar representing the number of elements from the `input_dataset`outputTypes
- outputShapes
- org.tensorflow.op.core.TakeDataset}
public <T> Assign<T> assign(Operand<T> ref, Operand<T> value, Assign.Options... options)
Assign
operation to the graphref
- Should be from a `Variable` node. May be uninitialized.value
- The value to be assigned to the variable.options
- carries optional attributes valuesorg.tensorflow.op.core.Assign}
public <T extends Number> AvgPool3DGrad<T> avgPool3DGrad(Operand<Integer> origInputShape, Operand<T> grad, List<Long> ksize, List<Long> strides, String padding, AvgPool3DGrad.Options... options)
AvgPool3DGrad
operation to the graphorigInputShape
- The original input dimensions.grad
- Output backprop of shape `[batch, depth, rows, cols, channels]`.ksize
- 1-D tensor of length 5. The size of the window for each dimension ofstrides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.AvgPool3DGrad}
public <T> SparseDenseCwiseDiv<T> sparseDenseCwiseDiv(Operand<Long> spIndices, Operand<T> spValues, Operand<Long> spShape, Operand<T> dense)
SparseDenseCwiseDiv
operation to the graphspIndices
- 2-D. `N x R` matrix with the indices of non-empty values in aspValues
- 1-D. `N` non-empty values corresponding to `sp_indices`.spShape
- 1-D. Shape of the input SparseTensor.dense
- `R`-D. The dense Tensor operand.org.tensorflow.op.core.SparseDenseCwiseDiv}
public <T> Squeeze<T> squeeze(Operand<T> input, Squeeze.Options... options)
Squeeze
operation to the graphinput
- The `input` to squeeze.options
- carries optional attributes valuesorg.tensorflow.op.core.Squeeze}
public <T> RestoreSlice<T> restoreSlice(Operand<String> filePattern, Operand<String> tensorName, Operand<String> shapeAndSlice, Class<T> dt, RestoreSlice.Options... options)
RestoreSlice
operation to the graphfilePattern
- Must have a single element. The pattern of the files fromtensorName
- Must have a single element. The name of the tensor to beshapeAndSlice
- Scalar. The shapes and slice specifications to use whendt
- The type of the tensor to be restored.options
- carries optional attributes valuesorg.tensorflow.op.core.RestoreSlice}
public QueueDequeueMany queueDequeueMany(Operand<?> handle, Operand<Integer> n, List<Class<?>> componentTypes, QueueDequeueMany.Options... options)
QueueDequeueMany
operation to the graphhandle
- The handle to a queue.n
- The number of tuples to dequeue.componentTypes
- The type of each component in a tuple.options
- carries optional attributes valuesorg.tensorflow.op.core.QueueDequeueMany}
public <T extends Number> StringToNumber<T> stringToNumber(Operand<String> stringTensor, Class<T> outType)
StringToNumber
operation to the graphstringTensor
- outType
- The numeric type to interpret each string in `string_tensor` as.org.tensorflow.op.core.StringToNumber}
public MapIncompleteSize mapIncompleteSize(List<Class<?>> dtypes, MapIncompleteSize.Options... options)
MapIncompleteSize
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.MapIncompleteSize}
public StringToHashBucket stringToHashBucket(Operand<String> stringTensor, Long numBuckets)
StringToHashBucket
operation to the graphstringTensor
- numBuckets
- The number of buckets.org.tensorflow.op.core.StringToHashBucket}
public <T,U extends Number,V extends Number> GatherV2<T> gatherV2(Operand<T> params, Operand<U> indices, Operand<V> axis)
GatherV2
operation to the graphparams
- The tensor from which to gather values. Must be at least rankindices
- Index tensor. Must be in range `[0, params.shape[axis])`.axis
- The axis in `params` to gather `indices` from. Defaults to the firstorg.tensorflow.op.core.GatherV2}
public <T extends Number> SoftmaxCrossEntropyWithLogits<T> softmaxCrossEntropyWithLogits(Operand<T> features, Operand<T> labels)
SoftmaxCrossEntropyWithLogits
operation to the graphfeatures
- batch_size x num_classes matrixlabels
- batch_size x num_classes matrixorg.tensorflow.op.core.SoftmaxCrossEntropyWithLogits}
public <T extends Number,U extends Number> SparseSegmentSqrtN<T> sparseSegmentSqrtN(Operand<T> data, Operand<U> indices, Operand<Integer> segmentIds)
SparseSegmentSqrtN
operation to the graphdata
- indices
- A 1-D tensor. Has same rank as `segment_ids`.segmentIds
- A 1-D tensor. Values should be sorted and can be repeated.org.tensorflow.op.core.SparseSegmentSqrtN}
public <T> ApplyAdagrad<T> applyAdagrad(Operand<T> var, Operand<T> accum, Operand<T> lr, Operand<T> grad, ApplyAdagrad.Options... options)
ApplyAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyAdagrad}
public <T> TensorArrayWrite tensorArrayWrite(Operand<?> handle, Operand<Integer> index, Operand<T> value, Operand<Float> flowIn)
TensorArrayWrite
operation to the graphhandle
- The handle to a TensorArray.index
- The position to write to inside the TensorArray.value
- The tensor to write to the TensorArray.flowIn
- A float scalar that enforces proper chaining of operations.org.tensorflow.op.core.TensorArrayWrite}
public <T,U extends Number> SegmentSum<T> segmentSum(Operand<T> data, Operand<U> segmentIds)
SegmentSum
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'sorg.tensorflow.op.core.SegmentSum}
public <T extends Number> Igamma<T> igamma(Operand<T> a, Operand<T> x)
Igamma
operation to the grapha
- x
- org.tensorflow.op.core.Igamma}
public <T> Inv<T> inv(Operand<T> x)
Inv
operation to the graphx
- org.tensorflow.op.core.Inv}
public TensorArrayClose tensorArrayClose(Operand<?> handle)
TensorArrayClose
operation to the graphhandle
- The handle to a TensorArray (output of TensorArray or TensorArrayGrad).org.tensorflow.op.core.TensorArrayClose}
public <T> Where3<T> where3(Operand<Boolean> condition, Operand<T> x, Operand<T> y)
Where3
operation to the graphcondition
- x
- = A `Tensor` which may have the same shape as `condition`.y
- = A `Tensor` with the same type and shape as `x`.org.tensorflow.op.core.Where3}
public LogicalAnd logicalAnd(Operand<Boolean> x, Operand<Boolean> y)
LogicalAnd
operation to the graphx
- y
- org.tensorflow.op.core.LogicalAnd}
public Timestamp timestamp()
Timestamp
operation to the graphorg.tensorflow.op.core.Timestamp}
public AdjustContrast adjustContrast(Operand<Float> images, Operand<Float> contrastFactor)
AdjustContrast
operation to the graphimages
- Images to adjust. At least 3-D.contrastFactor
- A float multiplier for adjusting contrast.org.tensorflow.op.core.AdjustContrast}
public <T,U extends Number> MirrorPad<T> mirrorPad(Operand<T> input, Operand<U> paddings, String mode)
MirrorPad
operation to the graphinput
- The input tensor to be padded.paddings
- A two-column matrix specifying the padding sizes. The number ofmode
- Either `REFLECT` or `SYMMETRIC`. In reflect mode the padded regionsorg.tensorflow.op.core.MirrorPad}
public TensorSliceDataset tensorSliceDataset(Iterable<Operand<?>> components, List<Shape> outputShapes)
TensorSliceDataset
operation to the graphcomponents
- outputShapes
- org.tensorflow.op.core.TensorSliceDataset}
public LoadAndRemapMatrix loadAndRemapMatrix(Operand<String> ckptPath, Operand<String> oldTensorName, Operand<Long> rowRemapping, Operand<Long> colRemapping, Operand<Float> initializingValues, Long numRows, Long numCols, LoadAndRemapMatrix.Options... options)
LoadAndRemapMatrix
operation to the graphckptPath
- Path to the TensorFlow checkpoint (version 2, `TensorBundle`) fromoldTensorName
- Name of the 2-D `Tensor` to load from checkpoint.rowRemapping
- An int `Tensor` of row remappings (generally created bycolRemapping
- An int `Tensor` of column remappings (generally created byinitializingValues
- A float `Tensor` containing values to fill in for cellsnumRows
- Number of rows (length of the 1st dimension) in the output matrix.numCols
- Number of columns (length of the 2nd dimension) in the output matrix.options
- carries optional attributes valuesorg.tensorflow.op.core.LoadAndRemapMatrix}
public EnqueueInQueueDataset enqueueInQueueDataset(Operand<?> queue, Iterable<Operand<?>> components)
EnqueueInQueueDataset
operation to the graphqueue
- components
- org.tensorflow.op.core.EnqueueInQueueDataset}
public <T,U extends Number,V extends Number> Roll<T> roll(Operand<T> input, Operand<U> shift, Operand<V> axis)
Roll
operation to the graphinput
- shift
- Dimension must be 0-D or 1-D. `shift[i]` specifies the number of places by whichaxis
- Dimension must be 0-D or 1-D. `axis[i]` specifies the dimension that the shiftorg.tensorflow.op.core.Roll}
public <T extends Number> LeftShift<T> leftShift(Operand<T> x, Operand<T> y)
LeftShift
operation to the graphx
- y
- org.tensorflow.op.core.LeftShift}
public <T extends Number> Abs<T> abs(Operand<T> x)
Abs
operation to the graphx
- org.tensorflow.op.core.Abs}
public <T extends Number> GreaterEqual greaterEqual(Operand<T> x, Operand<T> y)
GreaterEqual
operation to the graphx
- y
- org.tensorflow.op.core.GreaterEqual}
public <U extends Number,T extends Number> HistogramFixedWidth<U> histogramFixedWidth(Operand<T> values, Operand<T> valueRange, Operand<Integer> nbins, Class<U> dtype)
HistogramFixedWidth
operation to the graphvalues
- Numeric `Tensor`.valueRange
- Shape [2] `Tensor` of same `dtype` as `values`.nbins
- Scalar `int32 Tensor`. Number of histogram bins.dtype
- org.tensorflow.op.core.HistogramFixedWidth}
public <T,U extends Number> SplitV<T> splitV(Operand<T> value, Operand<U> sizeSplits, Operand<Integer> axis, Long numSplit)
SplitV
operation to the graphvalue
- The tensor to split.sizeSplits
- list containing the sizes of each output tensor along the splitaxis
- 0-D. The dimension along which to split. Must be in the rangenumSplit
- org.tensorflow.op.core.SplitV}
public <U extends Number,T extends Number> RandomPoisson<U> randomPoisson(Operand<T> shape, Operand<U> rate, RandomPoisson.Options... options)
RandomPoisson
operation to the graphshape
- rate
- options
- carries optional attributes valuesorg.tensorflow.op.core.RandomPoisson}
public AccumulatorNumAccumulated accumulatorNumAccumulated(Operand<String> handle)
AccumulatorNumAccumulated
operation to the graphhandle
- The handle to an accumulator.org.tensorflow.op.core.AccumulatorNumAccumulated}
public <T extends Number> BatchSelfAdjointEig<T> batchSelfAdjointEig(Operand<T> input)
BatchSelfAdjointEig
operation to the graphinput
- org.tensorflow.op.core.BatchSelfAdjointEig}
public <U,T extends Number> Complex<U> complex(Operand<T> real, Operand<T> imag, Class<U> Tout)
Complex
operation to the graphreal
- imag
- Tout
- org.tensorflow.op.core.Complex}
public FixedLengthRecordReader fixedLengthRecordReader(Long recordBytes, FixedLengthRecordReader.Options... options)
FixedLengthRecordReader
operation to the graphrecordBytes
- Number of bytes in the record.options
- carries optional attributes valuesorg.tensorflow.op.core.FixedLengthRecordReader}
public <T extends Number> Atan2<T> atan2(Operand<T> y, Operand<T> x)
Atan2
operation to the graphy
- x
- org.tensorflow.op.core.Atan2}
public <T> LogMatrixDeterminant<T> logMatrixDeterminant(Operand<T> input)
LogMatrixDeterminant
operation to the graphinput
- Shape is `[N, M, M]`.org.tensorflow.op.core.LogMatrixDeterminant}
public ReaderReadUpTo readerReadUpTo(Operand<?> readerHandle, Operand<?> queueHandle, Operand<Long> numRecords)
ReaderReadUpTo
operation to the graphreaderHandle
- Handle to a `Reader`.queueHandle
- Handle to a `Queue`, with string work items.numRecords
- number of records to read from `Reader`.org.tensorflow.op.core.ReaderReadUpTo}
public <T,U extends Number> Prod<T> prod(Operand<T> input, Operand<U> axis, Prod.Options... options)
Prod
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Prod}
public <T> Diag<T> diag(Operand<T> diagonal)
Diag
operation to the graphdiagonal
- Rank k tensor where k is at most 1.org.tensorflow.op.core.Diag}
public <T> EditDistance editDistance(Operand<Long> hypothesisIndices, Operand<T> hypothesisValues, Operand<Long> hypothesisShape, Operand<Long> truthIndices, Operand<T> truthValues, Operand<Long> truthShape, EditDistance.Options... options)
EditDistance
operation to the graphhypothesisIndices
- The indices of the hypothesis list SparseTensor.hypothesisValues
- The values of the hypothesis list SparseTensor.hypothesisShape
- The shape of the hypothesis list SparseTensor.truthIndices
- The indices of the truth list SparseTensor.truthValues
- The values of the truth list SparseTensor.truthShape
- truth indices, vector.options
- carries optional attributes valuesorg.tensorflow.op.core.EditDistance}
public NoOp noOp()
NoOp
operation to the graphorg.tensorflow.op.core.NoOp}
public Constant<Integer> constant(long[] shape, IntBuffer data)
Constant
operation to the graphshape
- the tensor shape.data
- a buffer containing the tensor data.IllegalArgumentException
- If the tensor shape is not compatible with the bufferorg.tensorflow.op.core.Constant}
public <T> ApplyRMSProp<T> applyRMSProp(Operand<T> var, Operand<T> ms, Operand<T> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, ApplyRMSProp.Options... options)
ApplyRMSProp
operation to the graphvar
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyRMSProp}
public <T extends Number> ResourceCountUpTo<T> resourceCountUpTo(Operand<?> resource, Long limit, Class<T> T)
ResourceCountUpTo
operation to the graphresource
- Should be from a scalar `Variable` node.limit
- If incrementing ref would bring it above limit, instead generates anT
- org.tensorflow.op.core.ResourceCountUpTo}
public <T> SparseConditionalAccumulator sparseConditionalAccumulator(Class<T> dtype, Shape shape, SparseConditionalAccumulator.Options... options)
SparseConditionalAccumulator
operation to the graphdtype
- The type of the value being accumulated.shape
- The shape of the values.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseConditionalAccumulator}
public <T extends Number,U extends Number,V extends Number> UnsortedSegmentMax<T> unsortedSegmentMax(Operand<T> data, Operand<U> segmentIds, Operand<V> numSegments)
UnsortedSegmentMax
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'snumSegments
- org.tensorflow.op.core.UnsortedSegmentMax}
public <U,T> QuantizeDownAndShrinkRange<U> quantizeDownAndShrinkRange(Operand<T> input, Operand<Float> inputMin, Operand<Float> inputMax, Class<U> outType)
QuantizeDownAndShrinkRange
operation to the graphinput
- inputMin
- The float value that the minimum quantized input value represents.inputMax
- The float value that the maximum quantized input value represents.outType
- The type of the output. Should be a lower bit depth than Tinput.org.tensorflow.op.core.QuantizeDownAndShrinkRange}
public SaveV2 saveV2(Operand<String> prefix, Operand<String> tensorNames, Operand<String> shapeAndSlices, Iterable<Operand<?>> tensors)
SaveV2
operation to the graphprefix
- Must have a single element. The prefix of the V2 checkpoint to which wetensorNames
- shape {N}. The names of the tensors to be saved.shapeAndSlices
- shape {N}. The slice specs of the tensors to be saved.tensors
- `N` tensors to save.org.tensorflow.op.core.SaveV2}
public <T> AddN<T> addN(Operand<T> inputs)
AddN
operation to the graphinputs
- Must all be the same size and shape.org.tensorflow.op.core.AddN}
public DecodeAndCropJpeg decodeAndCropJpeg(Operand<String> contents, Operand<Integer> cropWindow, DecodeAndCropJpeg.Options... options)
DecodeAndCropJpeg
operation to the graphcontents
- 0-D. The JPEG-encoded image.cropWindow
- 1-D. The crop window: [crop_y, crop_x, crop_height, crop_width].options
- carries optional attributes valuesorg.tensorflow.op.core.DecodeAndCropJpeg}
public <T extends Number> Digamma<T> digamma(Operand<T> x)
Digamma
operation to the graphx
- org.tensorflow.op.core.Digamma}
public ShardedFilename shardedFilename(Operand<String> basename, Operand<Integer> shard, Operand<Integer> numShards)
ShardedFilename
operation to the graphbasename
- shard
- numShards
- org.tensorflow.op.core.ShardedFilename}
public <T,U extends Number> SparseApplyAdagrad<T> sparseApplyAdagrad(Operand<T> var, Operand<T> accum, Operand<T> lr, Operand<T> grad, Operand<U> indices, SparseApplyAdagrad.Options... options)
SparseApplyAdagrad
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().lr
- Learning rate. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.SparseApplyAdagrad}
public <T> Stack<T> stack(Operand<T> values, Stack.Options... options)
Stack
operation to the graphvalues
- Must be of same shape and type.options
- carries optional attributes valuesorg.tensorflow.op.core.Stack}
public <U,T extends Number> StridedSliceGrad<U> stridedSliceGrad(Operand<T> shape, Operand<T> begin, Operand<T> end, Operand<T> strides, Operand<U> dy, StridedSliceGrad.Options... options)
StridedSliceGrad
operation to the graphshape
- begin
- end
- strides
- dy
- options
- carries optional attributes valuesorg.tensorflow.op.core.StridedSliceGrad}
public <T> DeepCopy<T> deepCopy(Operand<T> x)
DeepCopy
operation to the graphx
- The source tensor of type `T`.org.tensorflow.op.core.DeepCopy}
public <U extends Number,T extends Number> Multinomial<U> multinomial(Operand<T> logits, Operand<Integer> numSamples, Class<U> outputDtype, Multinomial.Options... options)
Multinomial
operation to the graphlogits
- 2-D Tensor with shape `[batch_size, num_classes]`. Each slice `[i, :]`numSamples
- 0-D. Number of independent samples to draw for each row slice.outputDtype
- options
- carries optional attributes valuesorg.tensorflow.op.core.Multinomial}
public <T extends Number> QuantizeAndDequantizeV2<T> quantizeAndDequantizeV2(Operand<T> input, Operand<T> inputMin, Operand<T> inputMax, QuantizeAndDequantizeV2.Options... options)
QuantizeAndDequantizeV2
operation to the graphinput
- Tensor to quantize and then dequantize.inputMin
- If `range_given == True`, this specifies the minimum input value that needs toinputMax
- If `range_given == True`, this specifies the maximum input value that needs tooptions
- carries optional attributes valuesorg.tensorflow.op.core.QuantizeAndDequantizeV2}
public <T> InplaceUpdate<T> inplaceUpdate(Operand<T> x, Operand<Integer> i, Operand<T> v)
InplaceUpdate
operation to the graphx
- A tensor of type `T`.i
- A vector. Indices into the left-most dimension of `x`.v
- A `Tensor` of type T. Same dimension sizes as x except the first dimension, which must be the same as i's size.org.tensorflow.op.core.InplaceUpdate}
public IRFFT2D iRFFT2D(Operand<?> input, Operand<Integer> fftLength)
IRFFT2D
operation to the graphinput
- A complex64 tensor.fftLength
- An int32 tensor of shape [2]. The FFT length for each dimension.org.tensorflow.op.core.IRFFT2D}
public <T> Unstack<T> unstack(Operand<T> value, Long num, Unstack.Options... options)
Unstack
operation to the graphvalue
- 1-D or higher, with `axis` dimension size equal to `num`.num
- options
- carries optional attributes valuesorg.tensorflow.op.core.Unstack}
public PaddingFIFOQueue paddingFIFOQueue(List<Class<?>> componentTypes, PaddingFIFOQueue.Options... options)
PaddingFIFOQueue
operation to the graphcomponentTypes
- The type of each component in a value.options
- carries optional attributes valuesorg.tensorflow.op.core.PaddingFIFOQueue}
public AllCandidateSampler allCandidateSampler(Operand<Long> trueClasses, Long numTrue, Long numSampled, Boolean unique, AllCandidateSampler.Options... options)
AllCandidateSampler
operation to the graphtrueClasses
- A batch_size * num_true matrix, in which each row contains thenumTrue
- Number of true labels per context.numSampled
- Number of candidates to produce.unique
- If unique is true, we sample with rejection, so that all sampledoptions
- carries optional attributes valuesorg.tensorflow.op.core.AllCandidateSampler}
public <T> Where where(Operand<T> condition)
Where
operation to the graphcondition
- org.tensorflow.op.core.Where}
public Gradients gradients(Iterable<Operand<?>> y, Iterable<Operand<?>> x, Gradients.Options... options)
Gradients
operation to the graphy
- outputs of the function to derivex
- inputs of the function for which partial derivatives are computedoptions
- carries optional attributes valuesGradients
org.tensorflow.op.core.Gradients}
public <T,U extends Number> Min<T> min(Operand<T> input, Operand<U> axis, Min.Options... options)
Min
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.Min}
public <T extends Number,U extends Number,V extends Number> UnsortedSegmentMin<T> unsortedSegmentMin(Operand<T> data, Operand<U> segmentIds, Operand<V> numSegments)
UnsortedSegmentMin
operation to the graphdata
- segmentIds
- A 1-D tensor whose rank is equal to the rank of `data`'snumSegments
- org.tensorflow.op.core.UnsortedSegmentMin}
public <T extends Number> Conv3D<T> conv3D(Operand<T> input, Operand<T> filter, List<Long> strides, String padding, Conv3D.Options... options)
Conv3D
operation to the graphinput
- Shape `[batch, in_depth, in_height, in_width, in_channels]`.filter
- Shape `[filter_depth, filter_height, filter_width, in_channels,strides
- 1-D tensor of length 5. The stride of the sliding window for eachpadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.Conv3D}
public PrefetchDataset prefetchDataset(Operand<?> inputDataset, Operand<Long> bufferSize, List<Class<?>> outputTypes, List<Shape> outputShapes)
PrefetchDataset
operation to the graphinputDataset
- bufferSize
- The maximum number of elements to buffer in an iterator overoutputTypes
- outputShapes
- org.tensorflow.op.core.PrefetchDataset}
public <T> ReadVariableOp<T> readVariableOp(Operand<?> resource, Class<T> dtype)
ReadVariableOp
operation to the graphresource
- handle to the resource in which to store the variable.dtype
- the dtype of the value.org.tensorflow.op.core.ReadVariableOp}
public <T extends Number> MaxPoolGradGrad<T> maxPoolGradGrad(Operand<T> origInput, Operand<T> origOutput, Operand<T> grad, List<Long> ksize, List<Long> strides, String padding, MaxPoolGradGrad.Options... options)
MaxPoolGradGrad
operation to the graphorigInput
- The original input tensor.origOutput
- The original output tensor.grad
- 4-D. Gradients of gradients w.r.t. the input of `max_pool`.ksize
- The size of the window for each dimension of the input tensor.strides
- The stride of the sliding window for each dimension of thepadding
- The type of padding algorithm to use.options
- carries optional attributes valuesorg.tensorflow.op.core.MaxPoolGradGrad}
public ReadFile readFile(Operand<String> filename)
ReadFile
operation to the graphfilename
- org.tensorflow.op.core.ReadFile}
public <T extends Number> DataFormatVecPermute<T> dataFormatVecPermute(Operand<T> x, DataFormatVecPermute.Options... options)
DataFormatVecPermute
operation to the graphx
- Vector of size 4 or Tensor of shape (4, 2) in source data format.options
- carries optional attributes valuesorg.tensorflow.op.core.DataFormatVecPermute}
public <T extends Number> QuantizeAndDequantize<T> quantizeAndDequantize(Operand<T> input, QuantizeAndDequantize.Options... options)
QuantizeAndDequantize
operation to the graphinput
- options
- carries optional attributes valuesorg.tensorflow.op.core.QuantizeAndDequantize}
public MutexLock mutexLock(Operand<?> mutex)
MutexLock
operation to the graphmutex
- The mutex resource to lock.org.tensorflow.op.core.MutexLock}
public SkipDataset skipDataset(Operand<?> inputDataset, Operand<Long> count, List<Class<?>> outputTypes, List<Shape> outputShapes)
SkipDataset
operation to the graphinputDataset
- count
- A scalar representing the number of elements from the `input_dataset`outputTypes
- outputShapes
- org.tensorflow.op.core.SkipDataset}
public <T> TensorSummaryV2 tensorSummaryV2(Operand<String> tag, Operand<T> tensor, Operand<String> serializedSummaryMetadata)
TensorSummaryV2
operation to the graphtag
- A string attached to this summary. Used for organization in TensorBoard.tensor
- A tensor to serialize.serializedSummaryMetadata
- A serialized SummaryMetadata proto. Contains pluginorg.tensorflow.op.core.TensorSummaryV2}
public <T> ApplyAdam<T> applyAdam(Operand<T> var, Operand<T> m, Operand<T> v, Operand<T> beta1Power, Operand<T> beta2Power, Operand<T> lr, Operand<T> beta1, Operand<T> beta2, Operand<T> epsilon, Operand<T> grad, ApplyAdam.Options... options)
ApplyAdam
operation to the graphvar
- Should be from a Variable().m
- Should be from a Variable().v
- Should be from a Variable().beta1Power
- Must be a scalar.beta2Power
- Must be a scalar.lr
- Scaling factor. Must be a scalar.beta1
- Momentum factor. Must be a scalar.beta2
- Momentum factor. Must be a scalar.epsilon
- Ridge term. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyAdam}
public <T extends Number> Bincount<T> bincount(Operand<Integer> arr, Operand<Integer> size, Operand<T> weights)
Bincount
operation to the grapharr
- int32 `Tensor`.size
- non-negative int32 scalar `Tensor`.weights
- is an int32, int64, float32, or float64 `Tensor` with the sameorg.tensorflow.op.core.Bincount}
public <T extends Number> ReduceAll reduceAll(Operand<Boolean> input, Operand<T> axis, ReduceAll.Options... options)
ReduceAll
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceAll}
public <T extends Number> TensorListElementShape<T> tensorListElementShape(Operand<?> inputHandle, Class<T> shapeType)
TensorListElementShape
operation to the graphinputHandle
- shapeType
- org.tensorflow.op.core.TensorListElementShape}
public <U extends Number,T extends Number> RandomUniformInt<U> randomUniformInt(Operand<T> shape, Operand<U> minval, Operand<U> maxval, RandomUniformInt.Options... options)
RandomUniformInt
operation to the graphshape
- The shape of the output tensor.minval
- 0-D. Inclusive lower bound on the generated integers.maxval
- 0-D. Exclusive upper bound on the generated integers.options
- carries optional attributes valuesorg.tensorflow.op.core.RandomUniformInt}
public <T extends Number> SampleDistortedBoundingBoxV2<T> sampleDistortedBoundingBoxV2(Operand<T> imageSize, Operand<Float> boundingBoxes, Operand<Float> minObjectCovered, SampleDistortedBoundingBoxV2.Options... options)
SampleDistortedBoundingBoxV2
operation to the graphimageSize
- 1-D, containing `[height, width, channels]`.boundingBoxes
- 3-D with shape `[batch, N, 4]` describing the N bounding boxesminObjectCovered
- The cropped area of the image must contain at least thisoptions
- carries optional attributes valuesorg.tensorflow.op.core.SampleDistortedBoundingBoxV2}
public <U,T extends Number> Fill<U> fill(Operand<T> dims, Operand<U> value)
Fill
operation to the graphdims
- 1-D. Represents the shape of the output tensor.value
- 0-D (scalar). Value to fill the returned tensor.org.tensorflow.op.core.Fill}
public StageSize stageSize(List<Class<?>> dtypes, StageSize.Options... options)
StageSize
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.StageSize}
public <T extends Number> Maximum<T> maximum(Operand<T> x, Operand<T> y)
Maximum
operation to the graphx
- y
- org.tensorflow.op.core.Maximum}
public <T> TensorArray tensorArray(Operand<Integer> size, Class<T> dtype, TensorArray.Options... options)
TensorArray
operation to the graphsize
- The size of the array.dtype
- The type of the elements on the tensor_array.options
- carries optional attributes valuesorg.tensorflow.op.core.TensorArray}
public <T> Log1p<T> log1p(Operand<T> x)
Log1p
operation to the graphx
- org.tensorflow.op.core.Log1p}
public Constant<Long> constant(long[] shape, LongBuffer data)
Constant
operation to the graphshape
- the tensor shape.data
- a buffer containing the tensor data.IllegalArgumentException
- If the tensor shape is not compatible with the bufferorg.tensorflow.op.core.Constant}
public <V,T,U> QuantizedMul<V> quantizedMul(Operand<T> x, Operand<U> y, Operand<Float> minX, Operand<Float> maxX, Operand<Float> minY, Operand<Float> maxY, Class<V> Toutput)
QuantizedMul
operation to the graphx
- y
- minX
- The float value that the lowest quantized `x` value represents.maxX
- The float value that the highest quantized `x` value represents.minY
- The float value that the lowest quantized `y` value represents.maxY
- The float value that the highest quantized `y` value represents.Toutput
- org.tensorflow.op.core.QuantizedMul}
public <U,T extends Number> ResourceGather<U> resourceGather(Operand<?> resource, Operand<T> indices, Class<U> dtype, ResourceGather.Options... options)
ResourceGather
operation to the graphresource
- indices
- dtype
- options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceGather}
public <T> InplaceSub<T> inplaceSub(Operand<T> x, Operand<Integer> i, Operand<T> v)
InplaceSub
operation to the graphx
- A `Tensor` of type T.i
- A vector. Indices into the left-most dimension of `x`.v
- A `Tensor` of type T. Same dimension sizes as x except the first dimension, which must be the same as i's size.org.tensorflow.op.core.InplaceSub}
public <T extends Number,U extends Number> SparseMatMul sparseMatMul(Operand<T> a, Operand<U> b, SparseMatMul.Options... options)
SparseMatMul
operation to the grapha
- b
- options
- carries optional attributes valuesorg.tensorflow.op.core.SparseMatMul}
public <T> TensorArrayRead<T> tensorArrayRead(Operand<?> handle, Operand<Integer> index, Operand<Float> flowIn, Class<T> dtype)
TensorArrayRead
operation to the graphhandle
- The handle to a TensorArray.index
- flowIn
- A float scalar that enforces proper chaining of operations.dtype
- The type of the elem that is returned.org.tensorflow.op.core.TensorArrayRead}
public RandomDataset randomDataset(Operand<Long> seed, Operand<Long> seed2, List<Class<?>> outputTypes, List<Shape> outputShapes)
RandomDataset
operation to the graphseed
- A scalar seed for the random number generator. If either seed orseed2
- A second scalar seed to avoid seed collision.outputTypes
- outputShapes
- org.tensorflow.op.core.RandomDataset}
public OrderedMapStage orderedMapStage(Operand<Long> key, Operand<Integer> indices, Iterable<Operand<?>> values, List<Class<?>> dtypes, OrderedMapStage.Options... options)
OrderedMapStage
operation to the graphkey
- int64indices
- values
- a list of tensorsdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.OrderedMapStage}
public MapClear mapClear(List<Class<?>> dtypes, MapClear.Options... options)
MapClear
operation to the graphdtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.MapClear}
public RecordInput recordInput(String filePattern, RecordInput.Options... options)
RecordInput
operation to the graphfilePattern
- Glob pattern for the data files.options
- carries optional attributes valuesorg.tensorflow.op.core.RecordInput}
public <T> ResourceApplyAddSign resourceApplyAddSign(Operand<?> var, Operand<?> m, Operand<T> lr, Operand<T> alpha, Operand<T> signDecay, Operand<T> beta, Operand<T> grad, ResourceApplyAddSign.Options... options)
ResourceApplyAddSign
operation to the graphvar
- Should be from a Variable().m
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.alpha
- Must be a scalar.signDecay
- Must be a scalar.beta
- Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceApplyAddSign}
public <T,U> MutableHashTable mutableHashTable(Class<T> keyDtype, Class<U> valueDtype, MutableHashTable.Options... options)
MutableHashTable
operation to the graphkeyDtype
- Type of the table keys.valueDtype
- Type of the table values.options
- carries optional attributes valuesorg.tensorflow.op.core.MutableHashTable}
public <T,U extends Number> MatrixBandPart<T> matrixBandPart(Operand<T> input, Operand<U> numLower, Operand<U> numUpper)
MatrixBandPart
operation to the graphinput
- Rank `k` tensor.numLower
- 0-D tensor. Number of subdiagonals to keep. If negative, keep entirenumUpper
- 0-D tensor. Number of superdiagonals to keep. If negative, keeporg.tensorflow.op.core.MatrixBandPart}
public Fact fact()
Fact
operation to the graphorg.tensorflow.op.core.Fact}
public <T> TensorListPushBack tensorListPushBack(Operand<?> inputHandle, Operand<T> tensor)
TensorListPushBack
operation to the graphinputHandle
- tensor
- org.tensorflow.op.core.TensorListPushBack}
public RemoteFusedGraphExecute remoteFusedGraphExecute(Iterable<Operand<?>> inputs, List<Class<?>> Toutputs, String serializedRemoteFusedGraphExecuteInfo)
RemoteFusedGraphExecute
operation to the graphinputs
- Arbitrary number of tensors with arbitrary data typesToutputs
- serializedRemoteFusedGraphExecuteInfo
- Serialized protocol bufferorg.tensorflow.op.core.RemoteFusedGraphExecute}
public <T,U extends Number> ResourceSparseApplyProximalGradientDescent resourceSparseApplyProximalGradientDescent(Operand<?> var, Operand<T> alpha, Operand<T> l1, Operand<T> l2, Operand<T> grad, Operand<U> indices, ResourceSparseApplyProximalGradientDescent.Options... options)
ResourceSparseApplyProximalGradientDescent
operation to the graphvar
- Should be from a Variable().alpha
- Scaling factor. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyProximalGradientDescent}
public <T> UnbatchGrad<T> unbatchGrad(Operand<T> originalInput, Operand<Long> batchIndex, Operand<T> grad, Operand<Long> id, UnbatchGrad.Options... options)
UnbatchGrad
operation to the graphoriginalInput
- batchIndex
- grad
- id
- options
- carries optional attributes valuesorg.tensorflow.op.core.UnbatchGrad}
public <T> VarHandleOp varHandleOp(Class<T> dtype, Shape shape, VarHandleOp.Options... options)
VarHandleOp
operation to the graphdtype
- the type of this variable. Must agree with the dtypesshape
- The (possibly partially specified) shape of this variable.options
- carries optional attributes valuesorg.tensorflow.op.core.VarHandleOp}
public <T extends Number> Floor<T> floor(Operand<T> x)
Floor
operation to the graphx
- org.tensorflow.op.core.Floor}
public IRFFT iRFFT(Operand<?> input, Operand<Integer> fftLength)
IRFFT
operation to the graphinput
- A complex64 tensor.fftLength
- An int32 tensor of shape [1]. The FFT length.org.tensorflow.op.core.IRFFT}
public <T extends Number> ResizeBicubic resizeBicubic(Operand<T> images, Operand<Integer> size, ResizeBicubic.Options... options)
ResizeBicubic
operation to the graphimages
- 4-D with shape `[batch, height, width, channels]`.size
- = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. Theoptions
- carries optional attributes valuesorg.tensorflow.op.core.ResizeBicubic}
public <T> ApplyFtrl<T> applyFtrl(Operand<T> var, Operand<T> accum, Operand<T> linear, Operand<T> grad, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<T> lrPower, ApplyFtrl.Options... options)
ApplyFtrl
operation to the graphvar
- Should be from a Variable().accum
- Should be from a Variable().linear
- Should be from a Variable().grad
- The gradient.lr
- Scaling factor. Must be a scalar.l1
- L1 regulariation. Must be a scalar.l2
- L2 regulariation. Must be a scalar.lrPower
- Scaling factor. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyFtrl}
public <T> ConditionalAccumulator conditionalAccumulator(Class<T> dtype, Shape shape, ConditionalAccumulator.Options... options)
ConditionalAccumulator
operation to the graphdtype
- The type of the value being accumulated.shape
- The shape of the values, can be [], in which case shape is unknown.options
- carries optional attributes valuesorg.tensorflow.op.core.ConditionalAccumulator}
public <T> TemporaryVariable<T> temporaryVariable(Shape shape, Class<T> dtype, TemporaryVariable.Options... options)
TemporaryVariable
operation to the graphshape
- The shape of the variable tensor.dtype
- The type of elements in the variable tensor.options
- carries optional attributes valuesorg.tensorflow.op.core.TemporaryVariable}
public <U extends Number,T extends Number> RandomNormal<U> randomNormal(Operand<T> shape, Class<U> dtype, RandomNormal.Options... options)
RandomNormal
operation to the graphshape
- The shape of the output tensor.dtype
- The type of the output.options
- carries optional attributes valuesorg.tensorflow.op.core.RandomNormal}
public <T extends Number> InvertPermutation<T> invertPermutation(Operand<T> x)
InvertPermutation
operation to the graphx
- 1-D.org.tensorflow.op.core.InvertPermutation}
public <T> MatrixDiagPart<T> matrixDiagPart(Operand<T> input)
MatrixDiagPart
operation to the graphinput
- Rank `k` tensor where `k >= 2`.org.tensorflow.op.core.MatrixDiagPart}
public MakeIterator makeIterator(Operand<?> dataset, Operand<?> iterator)
MakeIterator
operation to the graphdataset
- iterator
- org.tensorflow.op.core.MakeIterator}
public <T> DebugGradientRefIdentity<T> debugGradientRefIdentity(Operand<T> input)
DebugGradientRefIdentity
operation to the graphinput
- org.tensorflow.op.core.DebugGradientRefIdentity}
public MapUnstageNoKey mapUnstageNoKey(Operand<Integer> indices, List<Class<?>> dtypes, MapUnstageNoKey.Options... options)
MapUnstageNoKey
operation to the graphindices
- dtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.MapUnstageNoKey}
public <T,U extends Number> ReduceMax<T> reduceMax(Operand<T> input, Operand<U> axis, ReduceMax.Options... options)
ReduceMax
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceMax}
public <T extends Number,U> ResourceScatterNdAdd resourceScatterNdAdd(Operand<?> ref, Operand<T> indices, Operand<U> updates, ResourceScatterNdAdd.Options... options)
ResourceScatterNdAdd
operation to the graphref
- A resource handle. Must be from a VarHandleOp.indices
- A Tensor. Must be one of the following types: int32, int64.updates
- A Tensor. Must have the same type as ref. A tensor ofoptions
- carries optional attributes valuesorg.tensorflow.op.core.ResourceScatterNdAdd}
public RFFT rFFT(Operand<Float> input, Operand<Integer> fftLength)
RFFT
operation to the graphinput
- A float32 tensor.fftLength
- An int32 tensor of shape [1]. The FFT length.org.tensorflow.op.core.RFFT}
public <T> Svd<T> svd(Operand<T> input, Svd.Options... options)
Svd
operation to the graphinput
- A tensor of shape `[..., M, N]` whose inner-most 2 dimensionsoptions
- carries optional attributes valuesorg.tensorflow.op.core.Svd}
public <T> GetSessionHandle getSessionHandle(Operand<T> value)
GetSessionHandle
operation to the graphvalue
- The tensor to be stored.org.tensorflow.op.core.GetSessionHandle}
public <T> Subtract<T> subtract(Operand<T> x, Operand<T> y)
Subtract
operation to the graphx
- y
- org.tensorflow.op.core.Subtract}
public BatchIFFT3D batchIFFT3D(Operand<?> input)
BatchIFFT3D
operation to the graphinput
- org.tensorflow.op.core.BatchIFFT3D}
public <T> BatchNormWithGlobalNormalization<T> batchNormWithGlobalNormalization(Operand<T> t, Operand<T> m, Operand<T> v, Operand<T> beta, Operand<T> gamma, Float varianceEpsilon, Boolean scaleAfterNormalization)
BatchNormWithGlobalNormalization
operation to the grapht
- A 4D input Tensor.m
- A 1D mean Tensor with size matching the last dimension of t.v
- A 1D variance Tensor with size matching the last dimension of t.beta
- A 1D beta Tensor with size matching the last dimension of t.gamma
- A 1D gamma Tensor with size matching the last dimension of t.varianceEpsilon
- A small float number to avoid dividing by 0.scaleAfterNormalization
- A bool indicating whether the resulted tensororg.tensorflow.op.core.BatchNormWithGlobalNormalization}
public SdcaOptimizer sdcaOptimizer(Iterable<Operand<Long>> sparseExampleIndices, Iterable<Operand<Long>> sparseFeatureIndices, Iterable<Operand<Float>> sparseFeatureValues, Iterable<Operand<Float>> denseFeatures, Operand<Float> exampleWeights, Operand<Float> exampleLabels, Iterable<Operand<Long>> sparseIndices, Iterable<Operand<Float>> sparseWeights, Iterable<Operand<Float>> denseWeights, Operand<Float> exampleStateData, String lossType, Float l1, Float l2, Long numLossPartitions, Long numInnerIterations, SdcaOptimizer.Options... options)
SdcaOptimizer
operation to the graphsparseExampleIndices
- a list of vectors which contain example indices.sparseFeatureIndices
- a list of vectors which contain feature indices.sparseFeatureValues
- a list of vectors which contains feature valuedenseFeatures
- a list of matrices which contains the dense feature values.exampleWeights
- a vector which contains the weight associated with eachexampleLabels
- a vector which contains the label/target associated with eachsparseIndices
- a list of vectors where each value is the indices which hassparseWeights
- a list of vectors where each value is the weight associated withdenseWeights
- a list of vectors where the values are the weights associatedexampleStateData
- a list of vectors containing the example state data.lossType
- Type of the primal loss. Currently SdcaSolver supports logistic,l1
- Symmetric l1 regularization strength.l2
- Symmetric l2 regularization strength.numLossPartitions
- Number of partitions of the global loss function.numInnerIterations
- Number of iterations per mini-batch.options
- carries optional attributes valuesorg.tensorflow.op.core.SdcaOptimizer}
public <T,U extends Number> ResourceSparseApplyCenteredRMSProp resourceSparseApplyCenteredRMSProp(Operand<?> var, Operand<?> mg, Operand<?> ms, Operand<?> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, Operand<U> indices, ResourceSparseApplyCenteredRMSProp.Options... options)
ResourceSparseApplyCenteredRMSProp
operation to the graphvar
- Should be from a Variable().mg
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.indices
- A vector of indices into the first dimension of var, ms and mom.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyCenteredRMSProp}
public <T> DeserializeManySparse<T> deserializeManySparse(Operand<String> serializedSparse, Class<T> dtype)
DeserializeManySparse
operation to the graphserializedSparse
- 2-D, The `N` serialized `SparseTensor` objects.dtype
- The `dtype` of the serialized `SparseTensor` objects.org.tensorflow.op.core.DeserializeManySparse}
public <U extends Number,T extends Number> CudnnRNNParamsSize<U> cudnnRNNParamsSize(Operand<Integer> numLayers, Operand<Integer> numUnits, Operand<Integer> inputSize, Class<T> T, Class<U> S, CudnnRNNParamsSize.Options... options)
CudnnRNNParamsSize
operation to the graphnumLayers
- numUnits
- inputSize
- T
- S
- options
- carries optional attributes valuesorg.tensorflow.op.core.CudnnRNNParamsSize}
public <T> SparseSliceGrad<T> sparseSliceGrad(Operand<T> backpropValGrad, Operand<Long> inputIndices, Operand<Long> inputStart, Operand<Long> outputIndices)
SparseSliceGrad
operation to the graphbackpropValGrad
- 1-D. The gradient with respect toinputIndices
- 2-D. The `indices` of the input `SparseTensor`.inputStart
- 1-D. tensor represents the start of the slice.outputIndices
- 2-D. The `indices` of the sliced `SparseTensor`.org.tensorflow.op.core.SparseSliceGrad}
public <T> ApplyCenteredRMSProp<T> applyCenteredRMSProp(Operand<T> var, Operand<T> mg, Operand<T> ms, Operand<T> mom, Operand<T> lr, Operand<T> rho, Operand<T> momentum, Operand<T> epsilon, Operand<T> grad, ApplyCenteredRMSProp.Options... options)
ApplyCenteredRMSProp
operation to the graphvar
- Should be from a Variable().mg
- Should be from a Variable().ms
- Should be from a Variable().mom
- Should be from a Variable().lr
- Scaling factor. Must be a scalar.rho
- Decay rate. Must be a scalar.momentum
- epsilon
- Ridge term. Must be a scalar.grad
- The gradient.options
- carries optional attributes valuesorg.tensorflow.op.core.ApplyCenteredRMSProp}
public SlideDataset slideDataset(Operand<?> inputDataset, Operand<Long> windowSize, Operand<Long> stride, List<Class<?>> outputTypes, List<Shape> outputShapes)
SlideDataset
operation to the graphinputDataset
- windowSize
- A scalar representing the number of elements in thestride
- A scalar representing the steps moving the sliding windowoutputTypes
- outputShapes
- org.tensorflow.op.core.SlideDataset}
public <T> FFT<T> fFT(Operand<T> input)
FFT
operation to the graphinput
- A complex64 tensor.org.tensorflow.op.core.FFT}
public <T extends Number,U> ResourceScatterMin resourceScatterMin(Operand<?> resource, Operand<T> indices, Operand<U> updates)
ResourceScatterMin
operation to the graphresource
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to add to `ref`.org.tensorflow.op.core.ResourceScatterMin}
public <T extends Number> CropAndResizeGradBoxes cropAndResizeGradBoxes(Operand<Float> grads, Operand<T> image, Operand<Float> boxes, Operand<Integer> boxInd, CropAndResizeGradBoxes.Options... options)
CropAndResizeGradBoxes
operation to the graphgrads
- A 4-D tensor of shape `[num_boxes, crop_height, crop_width, depth]`.image
- A 4-D tensor of shape `[batch, image_height, image_width, depth]`.boxes
- A 2-D tensor of shape `[num_boxes, 4]`. The `i`-th row of the tensorboxInd
- A 1-D tensor of shape `[num_boxes]` with int32 values in `[0, batch)`.options
- carries optional attributes valuesorg.tensorflow.op.core.CropAndResizeGradBoxes}
public <T> SetSize setSize(Operand<Long> setIndices, Operand<T> setValues, Operand<Long> setShape, SetSize.Options... options)
SetSize
operation to the graphsetIndices
- 2D `Tensor`, indices of a `SparseTensor`.setValues
- 1D `Tensor`, values of a `SparseTensor`.setShape
- 1D `Tensor`, shape of a `SparseTensor`.options
- carries optional attributes valuesorg.tensorflow.op.core.SetSize}
public <T extends Number> BitwiseXor<T> bitwiseXor(Operand<T> x, Operand<T> y)
BitwiseXor
operation to the graphx
- y
- org.tensorflow.op.core.BitwiseXor}
public DecodeBmp decodeBmp(Operand<String> contents, DecodeBmp.Options... options)
DecodeBmp
operation to the graphcontents
- 0-D. The BMP-encoded image.options
- carries optional attributes valuesorg.tensorflow.op.core.DecodeBmp}
public <T extends Number> Igammac<T> igammac(Operand<T> a, Operand<T> x)
Igammac
operation to the grapha
- x
- org.tensorflow.op.core.Igammac}
public <T> Cholesky<T> cholesky(Operand<T> input)
Cholesky
operation to the graphinput
- Shape is `[..., M, M]`.org.tensorflow.op.core.Cholesky}
public <T> DynamicPartition<T> dynamicPartition(Operand<T> data, Operand<Integer> partitions, Long numPartitions)
DynamicPartition
operation to the graphdata
- partitions
- Any shape. Indices in the range `[0, num_partitions)`.numPartitions
- The number of partitions to output.org.tensorflow.op.core.DynamicPartition}
public DecodeJpeg decodeJpeg(Operand<String> contents, DecodeJpeg.Options... options)
DecodeJpeg
operation to the graphcontents
- 0-D. The JPEG-encoded image.options
- carries optional attributes valuesorg.tensorflow.op.core.DecodeJpeg}
public <T extends Number> ScalarSummary scalarSummary(Operand<String> tags, Operand<T> values)
ScalarSummary
operation to the graphtags
- Tags for the summary.values
- Same shape as `tags. Values for the summary.org.tensorflow.op.core.ScalarSummary}
public <T,U extends Number> ResourceSparseApplyAdagradDA resourceSparseApplyAdagradDA(Operand<?> var, Operand<?> gradientAccumulator, Operand<?> gradientSquaredAccumulator, Operand<T> grad, Operand<U> indices, Operand<T> lr, Operand<T> l1, Operand<T> l2, Operand<Long> globalStep, ResourceSparseApplyAdagradDA.Options... options)
ResourceSparseApplyAdagradDA
operation to the graphvar
- Should be from a Variable().gradientAccumulator
- Should be from a Variable().gradientSquaredAccumulator
- Should be from a Variable().grad
- The gradient.indices
- A vector of indices into the first dimension of var and accum.lr
- Learning rate. Must be a scalar.l1
- L1 regularization. Must be a scalar.l2
- L2 regularization. Must be a scalar.globalStep
- Training step number. Must be a scalar.options
- carries optional attributes valuesorg.tensorflow.op.core.ResourceSparseApplyAdagradDA}
public <T> NextIteration<T> nextIteration(Operand<T> data)
NextIteration
operation to the graphdata
- The tensor to be made available to the next iteration.org.tensorflow.op.core.NextIteration}
public <T> TensorArrayScatter tensorArrayScatter(Operand<?> handle, Operand<Integer> indices, Operand<T> value, Operand<Float> flowIn)
TensorArrayScatter
operation to the graphhandle
- The handle to a TensorArray.indices
- The locations at which to write the tensor elements.value
- The concatenated tensor to write to the TensorArray.flowIn
- A float scalar that enforces proper chaining of operations.org.tensorflow.op.core.TensorArrayScatter}
public BatchFFT3D batchFFT3D(Operand<?> input)
BatchFFT3D
operation to the graphinput
- org.tensorflow.op.core.BatchFFT3D}
public <T> ApproximateEqual approximateEqual(Operand<T> x, Operand<T> y, ApproximateEqual.Options... options)
ApproximateEqual
operation to the graphx
- y
- options
- carries optional attributes valuesorg.tensorflow.op.core.ApproximateEqual}
public <T,U extends Number> ReverseSequence<T> reverseSequence(Operand<T> input, Operand<U> seqLengths, Long seqDim, ReverseSequence.Options... options)
ReverseSequence
operation to the graphinput
- The input to reverse.seqLengths
- 1-D with length `input.dims(batch_dim)` andseqDim
- The dimension which is partially reversed.options
- carries optional attributes valuesorg.tensorflow.op.core.ReverseSequence}
public <T extends Number> BitwiseOr<T> bitwiseOr(Operand<T> x, Operand<T> y)
BitwiseOr
operation to the graphx
- y
- org.tensorflow.op.core.BitwiseOr}
public OrderedMapUnstage orderedMapUnstage(Operand<Long> key, Operand<Integer> indices, List<Class<?>> dtypes, OrderedMapUnstage.Options... options)
OrderedMapUnstage
operation to the graphkey
- indices
- dtypes
- options
- carries optional attributes valuesorg.tensorflow.op.core.OrderedMapUnstage}
public <T extends Number,U extends Number> SparseSegmentSqrtNGrad<T> sparseSegmentSqrtNGrad(Operand<T> grad, Operand<U> indices, Operand<Integer> segmentIds, Operand<Integer> outputDim0)
SparseSegmentSqrtNGrad
operation to the graphgrad
- gradient propagated to the SparseSegmentSqrtN op.indices
- indices passed to the corresponding SparseSegmentSqrtN op.segmentIds
- segment_ids passed to the corresponding SparseSegmentSqrtN op.outputDim0
- dimension 0 of "data" passed to SparseSegmentSqrtN op.org.tensorflow.op.core.SparseSegmentSqrtNGrad}
public <T,U extends Number> ReduceMin<T> reduceMin(Operand<T> input, Operand<U> axis, ReduceMin.Options... options)
ReduceMin
operation to the graphinput
- The tensor to reduce.axis
- The dimensions to reduce. Must be in the rangeoptions
- carries optional attributes valuesorg.tensorflow.op.core.ReduceMin}
public <T,U extends Number> ScatterSub<T> scatterSub(Operand<T> ref, Operand<U> indices, Operand<T> updates, ScatterSub.Options... options)
ScatterSub
operation to the graphref
- Should be from a `Variable` node.indices
- A tensor of indices into the first dimension of `ref`.updates
- A tensor of updated values to subtract from `ref`.options
- carries optional attributes valuesorg.tensorflow.op.core.ScatterSub}
public StatsAggregatorSummary statsAggregatorSummary(Operand<?> iterator)
StatsAggregatorSummary
operation to the graphiterator
- org.tensorflow.op.core.StatsAggregatorSummary}
public <T> Constant<T> constant(Class<T> type, long[] shape, ByteBuffer data)
Constant
operation to the graphtype
- the tensor datatype.shape
- the tensor shape.data
- a buffer containing the tensor data.IllegalArgumentException
- If the tensor datatype or shape is not compatible with theorg.tensorflow.op.core.Constant}
public Ops withSubScope(String childScopeName)
Scope#withSubScope(String)}
public Ops withName(String opName)
Scope#withName(String)}
Copyright © 2015–2018. All rights reserved.