code: def test_sparse_input_too_many_indices_fails(self):
      x = sparse_ops.from_dense(
          np.array(
              [[3, 0, 1, 0], [0, 0, 0, 0], [5, 0, 4, 4]], dtype=np.int32
          )
      )
      weights = sparse_ops.from_dense(
          np.array(
              [[3, 1, 1, 0], [0, 0, 0, 0], [5, 0, 4, 4]], dtype=np.int32
          )
      )
      with self.assertRaisesIncompatibleShapesError():
          self.evaluate(
              sparse_ops.sparse_bincount(x, weights=weights, axis=-1)
          )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 5 for calling the TestSparseCountFailureModes obj's underlying member method code with example usage: obj.test_sparse_input_too_many_indices_fails() without return types