code: def test_inconsistent_lengths_raise_error(self):
      elems0 = self.evaluate(
          uniform.Uniform(-1.0, 1.0).sample(
              [10], seed=test_util.test_seed()
          )
      )
      elems1 = self.evaluate(
          uniform.Uniform(-1.0, 1.0).sample(
              [9], seed=test_util.test_seed()
          )
      )
  
      def extended_add(a, b):
          return (a[0] + b[0], a[1] + b[1])
  
      with self.assertRaisesRegexp(
          Exception,
          "Inputs must have the same size along the given axis",
      ):
          self.evaluate(
              scan_associative(
                  extended_add,
                  (
                      self._maybe_static(elems0),
                      self._maybe_static(elems1),
                  ),
                  max_num_levels=8,
                  validate_args=True,
              )
          )
  
imports: import collections
  import functools
  import operator
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import uniform
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
  from tensorflow_probability.python.math.scan_associative import scan_associative
label_desc: Use image node_id 11 for calling the _ScanAssociativeTest obj's underlying member method code with example usage: obj.test_inconsistent_lengths_raise_error() and returns: unknown,  unknown