T - data type for dx() output@Operator public final class BatchNormWithGlobalNormalizationGrad<T> extends PrimitiveOp
This op is deprecated. See `tf.nn.batch_normalization`.
operation| Modifier and Type | Method and Description |
|---|---|
static <T> 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 to wrap a new BatchNormWithGlobalNormalizationGrad operation to the graph.
|
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.
|
equals, hashCode, toStringpublic static <T> BatchNormWithGlobalNormalizationGrad<T> create(Scope scope, Operand<T> t, Operand<T> m, Operand<T> v, Operand<T> gamma, Operand<T> backprop, Float varianceEpsilon, Boolean scaleAfterNormalization)
scope - current graph scopet - 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.Copyright © 2015–2019. All rights reserved.