• Batch normalization.

    As described in http://arxiv.org/abs/1502.03167.

    Mean, variance, scale, and offset can be of two shapes:

    • The same shape as the input.
    • In the common case, the depth dimension is the last dimension of x, so the values would be a tf.Tensor1D of shape [depth].

    Also available are stricter rank-specific methods with the same signature as this method that assert that parameters passed are of given rank

    • tf.batchNorm2d
    • tf.batchNorm3d
    • tf.batchNorm4d

    Type Parameters

    Parameters

    Returns Tensor<R>