code: def test_dataformat(self):
      bn1d = BatchNorm1d(data_format="channels_first", num_features=32)
      bn2d = BatchNorm2d(data_format="channels_first", num_features=32)
      bn3d = BatchNorm3d(data_format="channels_first", num_features=32)
      bn = BatchNorm(data_format="channels_first")
  
      try:
          bn_fail = BatchNorm1d(data_format="xyz", num_features=32)
      except Exception as e:
          self.assertIsInstance(e, ValueError)
          print(e)
  
file_path: TensorLayer/tests/layers/test_layers_normalization.py
imports: import os
  import unittest
  import tensorflow
  import tensorlayer
  from tensorlayer.layers import *
  from tensorlayer.models import Model
  from tests.utils import CustomTestCase
label_desc: Use image node_id 8 for calling the Laye_BatchNorm_Test obj's underlying member method code with example usage: obj.test_dataformat() without return types