code: def test_channel_axis_too_large(self):
      batch_size = 8
      resolution = 64
      n_channels = 3
  
      batch = tf.ones([batch_size, resolution, resolution, n_channels])
  
      layer = minibatch_standarddeviation.MiniBatchStandardDeviation(
          channel_axis=10
      )
      layer.build(batch.shape)
  
      try:
          layer.call(batch)
          self.fail(
              "Too large a channel_axis argument should cause a ValueError."
          )
      except ValueError:
          pass
  
file_path: graphics/tensorflow_graphics/projects/gan/minibatch_standarddeviation_test.py
imports: import tensorflow
  from tensorflow_graphics.projects.gan import minibatch_standarddeviation
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 8 for calling the MinibatchStandarddeviationTest obj's underlying member method code with example usage: obj.test_channel_axis_too_large() without return types