tf.keras.layers.experimental.SyncBatchNormalization
Stay organized with collections
Save and categorize content based on your preferences.
Deprecated. Please use tf.keras.layers.BatchNormalization
instead.
Inherits From: Layer
, Module
tf.keras.layers.experimental.SyncBatchNormalization(
axis=-1,
momentum=0.99,
epsilon=0.001,
center=True,
scale=True,
beta_initializer='zeros',
gamma_initializer='ones',
moving_mean_initializer='zeros',
moving_variance_initializer='ones',
beta_regularizer=None,
gamma_regularizer=None,
beta_constraint=None,
gamma_constraint=None,
**kwargs
)
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-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[],[],null,["# tf.keras.layers.experimental.SyncBatchNormalization\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/keras-team/keras/tree/v2.15.0/keras/layers/normalization/batch_normalization.py#L1495-L1548) |\n\nDeprecated. Please use [`tf.keras.layers.BatchNormalization`](../../../../tf/keras/layers/BatchNormalization) instead.\n\nInherits From: [`Layer`](../../../../tf/keras/layers/Layer), [`Module`](../../../../tf/Module) \n\n tf.keras.layers.experimental.SyncBatchNormalization(\n axis=-1,\n momentum=0.99,\n epsilon=0.001,\n center=True,\n scale=True,\n beta_initializer='zeros',\n gamma_initializer='ones',\n moving_mean_initializer='zeros',\n moving_variance_initializer='ones',\n beta_regularizer=None,\n gamma_regularizer=None,\n beta_constraint=None,\n gamma_constraint=None,\n **kwargs\n )\n\n| **Caution:** [`tf.keras.layers.experimental.SyncBatchNormalization`](../../../../tf/keras/layers/experimental/SyncBatchNormalization) endpoint is deprecated and will be removed in a future release. Please use [`tf.keras.layers.BatchNormalization`](../../../../tf/keras/layers/BatchNormalization) with parameter `synchronized` set to True"]]