# tf.keras.layers.experimental.SyncBatchNormalization

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v2.13.1/keras/layers/normalization/batch_normalization.py#L1495-L1548) |

Deprecated. Please use [`tf.keras.layers.BatchNormalization`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/keras/layers/BatchNormalization) instead.

Inherits From: [`Layer`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/keras/layers/Layer), [`Module`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/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
    )

> [!CAUTION]
> **Caution:** [`tf.keras.layers.experimental.SyncBatchNormalization`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/keras/layers/experimental/SyncBatchNormalization) endpoint is deprecated and will be removed in a future release. Please use [`tf.keras.layers.BatchNormalization`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/keras/layers/BatchNormalization) with parameter `synchronized` set to True