code: def testBadInputShapes(
      self,
      test_description,
      token_word,
      token_starts,
      token_ends,
      token_properties,
      is_ragged=True,
  ):
      constant = (
          ragged_factory_ops.constant
          if is_ragged
          else constant_op.constant
      )
      token_starts = constant(token_starts, dtype=dtypes.int64)
      token_ends = constant(token_ends, dtype=dtypes.int64)
      token_properties = ragged_factory_ops.constant(
          token_properties, dtype=dtypes.int64
      )
  
      with self.assertRaises(errors.InvalidArgumentError):
          result = sentence_breaking_ops.sentence_fragments(
              token_word, token_starts, token_ends, token_properties
          )
          _ = self.evaluate(result)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import string_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_map_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import sentence_breaking_ops
label_desc: Use image node_id 5 for calling the SentenceFragmenterTestCasesV1 obj's underlying member method code with example usage: obj.testBadInputShapes(test_description, token_word, token_starts, token_ends, token_properties, is_ragged) without return types