BatchNormWithGlobalNormalizationGrad

public final class BatchNormWithGlobalNormalizationGrad

Gradients for batch normalization.

This op is deprecated. See tf.nn.batch_normalization.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static <T extends TType> BatchNormWithGlobalNormalizationGrad<T>
create(Scope scope, Operand<T> t, Operand<T> m, Operand<T> v, Operand<T> gamma, Operand<T> backprop, Float varianceEpsilon, Boolean scaleAfterNormalization)
Factory method to create a class wrapping a new BatchNormWithGlobalNormalizationGrad operation.
Output<T>
db()
1D backprop tensor for beta.
Output<T>
dg()
1D backprop tensor for gamma.
Output<T>
dm()
1D backprop tensor for mean.
Output<T>
dv()
1D backprop tensor for variance.
Output<T>
dx()
4D backprop tensor for input.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "BatchNormWithGlobalNormalizationGrad"

Public Methods

public static BatchNormWithGlobalNormalizationGrad<T> create (Scope scope, Operand<T> t, Operand<T> m, Operand<T> v, Operand<T> gamma, Operand<T> backprop, Float varianceEpsilon, Boolean scaleAfterNormalization)

Factory method to create a class wrapping a new BatchNormWithGlobalNormalizationGrad operation.

Parameters
scope current scope
t A 4D input Tensor.
m A 1D mean Tensor with size matching the last dimension of t. This is the first output from tf.nn.moments, or a saved moving average thereof.
v A 1D variance Tensor with size matching the last dimension of t. This is the second output from tf.nn.moments, or a saved moving average thereof.
gamma A 1D gamma Tensor with size matching the last dimension of t. If "scale_after_normalization" is true, this Tensor will be multiplied with the normalized Tensor.
backprop 4D backprop Tensor.
varianceEpsilon A small float number to avoid dividing by 0.
scaleAfterNormalization A bool indicating whether the resulted tensor needs to be multiplied with gamma.
Returns
  • a new instance of BatchNormWithGlobalNormalizationGrad

public Output<T> db ()

1D backprop tensor for beta.

public Output<T> dg ()

1D backprop tensor for gamma.

public Output<T> dm ()

1D backprop tensor for mean.

public Output<T> dv ()

1D backprop tensor for variance.

public Output<T> dx ()

4D backprop tensor for input.