docstr: Check the type errors for invalid input types.
code: def test_edge_convolution_template_exception_raised_types(
      self, err_msg, data_type, neighbors_type, sizes_type
  ):
      """Check the type errors for invalid input types."""
      data, neighbors, sizes = _random_data(
          1, 5, 3, True, False, data_type, neighbors_type, sizes_type
      )
      with self.assertRaisesRegexp(TypeError, err_msg):
          gc.edge_convolution_template(
              data=data,
              neighbors=neighbors,
              sizes=sizes,
              edge_function=self._zeros,
              reduction="weighted",
              edge_function_kwargs=dict(),
          )
  
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 5 for calling the EdgeConvolutionTemplateTests obj's underlying member method code with example usage: obj.test_edge_convolution_template_exception_raised_types(err_msg, data_type, neighbors_type, sizes_type) without return types