docstr: Check that an invalid reduction method triggers the exception.
code: def test_edge_convolution_template_exception_raised_reduction(
      self, reduction
  ):
      """Check that an invalid reduction method triggers the exception."""
      with self.assertRaisesRegexp(ValueError, "reduction method"):
          data, neighbors = _dummy_data(1, 5, 2)
          gc.edge_convolution_template(
              data=data,
              neighbors=neighbors,
              sizes=None,
              edge_function=self._zeros,
              reduction=reduction,
              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 8 for calling the EdgeConvolutionTemplateTests obj's underlying member method code with example usage: obj.test_edge_convolution_template_exception_raised_reduction(reduction) without return types