code: def testErrorModesWithOffsets(
      self, expected=None, expected_offsets=None, **args
  ):
      result = ragged_string_ops.unicode_decode_with_offsets(**args)
      self.assertAllEqual(result[0], expected)
      self.assertAllEqual(result[1], expected_offsets)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_string_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the UnicodeDecodeTest obj's underlying member method code with example usage: obj.testErrorModesWithOffsets(expected, expected_offsets) without return types