code: def test_output_shape(self):
      mod = bias.Bias(output_size=(2 * 2,))
      with self.assertRaisesRegex(
          ValueError, "Input shape must be [(]-1, 4[)]"
      ):
          mod(tf.ones([2, 2, 2]))
  
file_path: sonnet/sonnet/src/bias_test.py
imports: from sonnet.src import bias
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 1 for calling the BiasTest obj's underlying member method code with example usage: obj.test_output_shape() without return types