def METHOD_NAME(self, x):
    if self._data_format == "channels_first":
        data_format = "NCHW"
    else:
        data_format = "NHWC"
    return tf.contrib.layers.batch_norm(
        x,
        decay=self._batch_norm_decay,
        center=True,
        scale=True,
        epsilon=self._batch_norm_epsilon,
        is_training=self._is_training,
        fused=True,
        data_format=data_format,
    )