@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class FusedBatchNormV2 extends Pointer
Attrs
):
* epsilon: A small float number added to the variance of x.
* data_format: The data format for x and y. Either "NHWC" (default) or "NCHW".
* is_training: A bool value to indicate the operation is for training (default)
or inference.
Returns:
* Output
y: A 4D Tensor for output data.
* Output
batch_mean: A 1D Tensor for the computed batch mean, to be used by TensorFlow
to compute the running mean.
* Output
batch_variance: A 1D Tensor for the computed batch variance, to be used by
TensorFlow to compute the running variance.
* Output
reserve_space_1: A 1D Tensor for the computed batch mean, to be reused
in the gradient computation.
* Output
reserve_space_2: A 1D Tensor for the computed batch variance (inverted variance
in the cuDNN case), to be reused in the gradient computation.Modifier and Type | Class and Description |
---|---|
static class |
FusedBatchNormV2.Attrs
Optional attribute setters for FusedBatchNormV2
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FusedBatchNormV2(Pointer p)
Pointer cast constructor.
|
FusedBatchNormV2(Scope scope,
Input x,
Input scale,
Input offset,
Input mean,
Input variance) |
FusedBatchNormV2(Scope scope,
Input x,
Input scale,
Input offset,
Input mean,
Input variance,
FusedBatchNormV2.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Output |
batch_mean() |
FusedBatchNormV2 |
batch_mean(Output setter) |
Output |
batch_variance() |
FusedBatchNormV2 |
batch_variance(Output setter) |
static FusedBatchNormV2.Attrs |
DataFormat(BytePointer x) |
static FusedBatchNormV2.Attrs |
DataFormat(String x) |
static FusedBatchNormV2.Attrs |
Epsilon(float x) |
static FusedBatchNormV2.Attrs |
IsTraining(boolean x) |
Operation |
operation() |
FusedBatchNormV2 |
operation(Operation setter) |
Output |
reserve_space_1() |
FusedBatchNormV2 |
reserve_space_1(Output setter) |
Output |
reserve_space_2() |
FusedBatchNormV2 |
reserve_space_2(Output setter) |
Output |
y() |
FusedBatchNormV2 |
y(Output setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FusedBatchNormV2(Pointer p)
Pointer(Pointer)
.public FusedBatchNormV2(@Const @ByRef Scope scope, @ByVal Input x, @ByVal Input scale, @ByVal Input offset, @ByVal Input mean, @ByVal Input variance)
@ByVal public static FusedBatchNormV2.Attrs Epsilon(float x)
@ByVal public static FusedBatchNormV2.Attrs DataFormat(@tensorflow.StringPiece BytePointer x)
@ByVal public static FusedBatchNormV2.Attrs DataFormat(@tensorflow.StringPiece String x)
@ByVal public static FusedBatchNormV2.Attrs IsTraining(@Cast(value="bool") boolean x)
public FusedBatchNormV2 operation(Operation setter)
public FusedBatchNormV2 y(Output setter)
public FusedBatchNormV2 batch_mean(Output setter)
public FusedBatchNormV2 batch_variance(Output setter)
public FusedBatchNormV2 reserve_space_1(Output setter)
public FusedBatchNormV2 reserve_space_2(Output setter)
Copyright © 2022. All rights reserved.