code: def test_tensor_input(
      self, txt_input, normalization_form, post_norm_offsets, expected
  ):
      _, offsets_map = normalize_ops.normalize_utf8_with_offsets_map(
          txt_input, normalization_form
      )
      pre_norm_offsets = normalize_ops.find_source_offsets(
          offsets_map, post_norm_offsets
      )
      self.assertAllEqual(expected, pre_norm_offsets)
  
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 errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import normalize_ops
label_desc: Use image node_id 3 for calling the FindSourceOffsetsTest obj's underlying member method code with example usage: obj.test_tensor_input(txt_input, normalization_form, post_norm_offsets, expected) without return types