tf.keras.backend.normalize_batch_in_training

View source on GitHub

Computes mean and std for batch then apply batch_normalization on batch.

tf.keras.backend.normalize_batch_in_training(
    x, gamma, beta, reduction_axes, epsilon=0.001
)

Arguments:

Returns:

A tuple length of 3, (normalized_tensor, mean, variance).