code: def test_cSE_reduction_ratio_error(self):
      input_shape = (2, 16, 16, 16, 33)
      x = tf.ones(input_shape)
      se_layer = ChannelSELayer()
  
      with self.assertRaises(ValueError):
          se_layer(x)
  
file_path: NiftyNet/tests/squeeze_excitation_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.layer.squeeze_excitation import ChannelSELayer
  from niftynet.layer.squeeze_excitation import SpatialSELayer
  from niftynet.layer.squeeze_excitation import ChannelSpatialSELayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 12 for calling the SETest obj's underlying member method code with example usage: obj.test_cSE_reduction_ratio_error() without return types