@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.FusedBatchNormV2.Attrs
Optional attribute setters for FusedBatchNormV2
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
FusedBatchNormV2(Pointer p)
Pointer cast constructor.
|
FusedBatchNormV2(tensorflow.Scope scope,
tensorflow.Input x,
tensorflow.Input scale,
tensorflow.Input offset,
tensorflow.Input mean,
tensorflow.Input variance) |
FusedBatchNormV2(tensorflow.Scope scope,
tensorflow.Input x,
tensorflow.Input scale,
tensorflow.Input offset,
tensorflow.Input mean,
tensorflow.Input variance,
tensorflow.FusedBatchNormV2.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Output |
batch_mean() |
tensorflow.FusedBatchNormV2 |
batch_mean(tensorflow.Output batch_mean) |
tensorflow.Output |
batch_variance() |
tensorflow.FusedBatchNormV2 |
batch_variance(tensorflow.Output batch_variance) |
static tensorflow.FusedBatchNormV2.Attrs |
DataFormat(BytePointer x) |
static tensorflow.FusedBatchNormV2.Attrs |
DataFormat(String x) |
static tensorflow.FusedBatchNormV2.Attrs |
Epsilon(float x) |
static tensorflow.FusedBatchNormV2.Attrs |
IsTraining(boolean x) |
tensorflow.Operation |
operation() |
tensorflow.FusedBatchNormV2 |
operation(tensorflow.Operation operation) |
tensorflow.Output |
reserve_space_1() |
tensorflow.FusedBatchNormV2 |
reserve_space_1(tensorflow.Output reserve_space_1) |
tensorflow.Output |
reserve_space_2() |
tensorflow.FusedBatchNormV2 |
reserve_space_2(tensorflow.Output reserve_space_2) |
tensorflow.Output |
y() |
tensorflow.FusedBatchNormV2 |
y(tensorflow.Output y) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic FusedBatchNormV2(Pointer p)
Pointer.Pointer(Pointer).public FusedBatchNormV2(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input x, @ByVal tensorflow.Input scale, @ByVal tensorflow.Input offset, @ByVal tensorflow.Input mean, @ByVal tensorflow.Input variance)
public FusedBatchNormV2(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input x, @ByVal tensorflow.Input scale, @ByVal tensorflow.Input offset, @ByVal tensorflow.Input mean, @ByVal tensorflow.Input variance, @Const @ByRef tensorflow.FusedBatchNormV2.Attrs attrs)
@ByVal public static tensorflow.FusedBatchNormV2.Attrs Epsilon(float x)
@ByVal public static tensorflow.FusedBatchNormV2.Attrs DataFormat(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.FusedBatchNormV2.Attrs DataFormat(@tensorflow.StringPiece String x)
@ByVal public static tensorflow.FusedBatchNormV2.Attrs IsTraining(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.FusedBatchNormV2 operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output y()
public tensorflow.FusedBatchNormV2 y(tensorflow.Output y)
@ByRef public tensorflow.Output batch_mean()
public tensorflow.FusedBatchNormV2 batch_mean(tensorflow.Output batch_mean)
@ByRef public tensorflow.Output batch_variance()
public tensorflow.FusedBatchNormV2 batch_variance(tensorflow.Output batch_variance)
@ByRef public tensorflow.Output reserve_space_1()
public tensorflow.FusedBatchNormV2 reserve_space_1(tensorflow.Output reserve_space_1)
@ByRef public tensorflow.Output reserve_space_2()
public tensorflow.FusedBatchNormV2 reserve_space_2(tensorflow.Output reserve_space_2)
Copyright © 2019. All rights reserved.