docstr: Check that invalid input shapes trigger the right exceptions.
code: def test_feature_steered_convolution_exception_raised_shapes(self):
      """Check that invalid input shapes trigger the right exceptions."""
      with self.assertRaisesRegexp(ValueError, "must have a rank of 2"):
          data, neighbors = _dummy_data(1, 5, 2)
          u, v, c, w, b = _dummy_variables(2, 2, 1)
          data = data[0, :]
          _ = gc.feature_steered_convolution(
              data=data,
              neighbors=neighbors,
              sizes=None,
              var_u=u,
              var_v=v,
              var_c=c,
              var_w=w,
              var_b=b,
          )
  
      with self.assertRaisesRegexp(
          ValueError, "must have a rank greater than 1"
      ):
          u, v, c, w, b = _dummy_variables(2, 2, 1)
          data = np.ones(shape=(5), dtype=np.float32)
          neighbors = _dense_to_sparse(
              np.ones(shape=(5), dtype=np.float32)
          )
          _ = gc.feature_steered_convolution(
              data=data,
              neighbors=neighbors,
              sizes=None,
              var_u=u,
              var_v=v,
              var_c=c,
              var_w=w,
              var_b=b,
          )
  
      with self.assertRaisesRegexp(
          ValueError, "Not all batch dimensions are identical."
      ):
          data, neighbors = _dummy_data(1, 5, 2)
          u, v, c, w, b = _dummy_variables(2, 2, 1)
          _ = gc.feature_steered_convolution(
              data=data,
              neighbors=neighbors,
              sizes=(1, 1),
              var_u=u,
              var_v=v,
              var_c=c,
              var_w=w,
              var_b=b,
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  import tensorflow
  import tensorflow_graphics.geometry.convolution.graph_convolution
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 3 for calling the GraphConvolutionTestFeatureSteeredConvolutionTests obj's underlying member method code with example usage: obj.test_feature_steered_convolution_exception_raised_shapes() without return types