docstr: Check that invalid input shapes trigger the right exceptions.
code: def test_check_valid_graph_pooling_exception_raised_shapes(
      self, err_msg, data_shape, pool_map_shape, sizes
  ):
      """Check that invalid input shapes trigger the right exceptions."""
      data = tf.convert_to_tensor(
          value=np.ones(data_shape, dtype=np.float32)
      )
      pool_map = _dense_to_sparse(
          np.ones(pool_map_shape, dtype=np.float32)
      )
      sizes = (
          sizes if sizes is None else tf.convert_to_tensor(value=sizes)
      )
  
      self.assert_exception_is_raised(
          utils.check_valid_graph_pooling_input,
          err_msg,
          shapes=[],
          data=data,
          pool_map=pool_map,
          sizes=sizes,
      )
  
imports: from absl.testing import parameterized
  import numpy
  from scipy import linalg
  import tensorflow
  from tensorflow_graphics.geometry.convolution import utils
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 6 for calling the UtilsCheckValidGraphPoolingInputTests obj's underlying member method code with example usage: obj.test_check_valid_graph_pooling_exception_raised_shapes(err_msg, data_shape, pool_map_shape, sizes) without return types