tf.nn.batch_norm_with_global_normalization
Stay organized with collections
Save and categorize content based on your preferences.
Batch normalization.
tf.nn.batch_norm_with_global_normalization(
input,
mean,
variance,
beta,
gamma,
variance_epsilon,
scale_after_normalization,
name=None
)
This op is deprecated. See tf.nn.batch_normalization
.
Args |
input
|
A 4D input Tensor.
|
mean
|
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.
|
variance
|
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.
|
beta
|
A 1D beta Tensor with size matching the last dimension of t.
An offset to be added to the normalized tensor.
|
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.
|
variance_epsilon
|
A small float number to avoid dividing by 0.
|
scale_after_normalization
|
A bool indicating whether the resulted tensor
needs to be multiplied with gamma.
|
name
|
A name for this operation (optional).
|
Returns |
A batch-normalized t .
|
References |
Batch Normalization - Accelerating Deep Network Training by Reducing Internal Covariate Shift:
Ioffe et al., 2015
(pdf)
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-04-26 UTC.",
"confidential": False
}