code: def test_exception(self):
      try:
          bn = BatchNorm(num_features=32)
      except Exception as e:
          self.assertIsInstance(e, ValueError)
          print(e)
  
      try:
          ni = Input([None, 100, 1], name="test_ni1")
          bn = BatchNorm(decay=1.5)(ni)
      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 9 for calling the Laye_BatchNorm_Test obj's underlying member method code with example usage: obj.test_exception() without return types