class_docstr: ConvNet model.
class_docstr_tok: ["ConvNet","model","."]
code: def _batch_norm(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,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
label_desc: Use image node_id 8 for calling the ConvNet obj's underlying member method code with example usage: obj._batch_norm(x) and returns: tf