code: def testVectorMultipleValues(self):
      test_strings = constant_op.constant(
          [b"IloveFlume!", b"and tensorflow"]
      )
  
      # Below, each pair of logits [l1, l2] indicates a "split" action
      # if l1 < l2 and a "merge" otherwise.
      test_logits = constant_op.constant(
          [
              [
                  # "I"
                  [5.0, -3.2],  # I: split
                  # "love"
                  [2.2, -1.0],  # l: split
                  [0.2, 12.0],  # o: merge
                  [0.0, 11.0],  # v: merge
                  [-3.0, 3.0],  # e: merge
                  # "Flume"
                  [10.0, 0.0],  # F: split
                  [0.0, 11.0],  # l: merge
                  [0.0, 11.0],  # u: merge
                  [0.0, 12.0],  # m: merge
                  [0.0, 12.0],  # e: merge
                  # "!"
                  [5.2, -7.0],  # !: split
                  # padding:
                  [1.0, 0.0],
                  [1.0, 1.0],
                  [1.0, 0.0],
              ],
              [
                  # "and"
                  [2.0, 0.7],  # a: split
                  [0.2, 1.5],  # n: merge
                  [0.5, 2.3],  # d: merge
                  # " "
                  [1.7, 7.0],  # <space>: merge
                  # "tensorflow"
                  [2.2, 0.1],  # t: split
                  [0.2, 3.1],  # e: merge
                  [1.1, 2.5],  # n: merge
                  [0.7, 0.9],  # s: merge
                  [0.6, 1.0],  # o: merge
                  [0.3, 1.0],  # r: merge
                  [0.2, 2.2],  # f: merge
                  [0.7, 3.1],  # l: merge
                  [0.4, 5.0],  # o: merge
                  [0.8, 6.0],  # w: merge
              ],
          ]
      )
      expected_tokens = [
          [b"I", b"love", b"Flume", b"!"],
          [b"and", b"tensorflow"],
      ]
      expected_starts = [[0, 1, 5, 10], [0, 4]]
      expected_ends = [[1, 5, 10, 11], [3, 14]]
      (tokens, starts, ends) = self.tokenizer.tokenize_with_offsets(
          test_strings, test_logits
      )
      self.assertAllEqual(expected_tokens, tokens)
      tokens_by_offsets = _RaggedSubstr(test_strings, starts, ends)
      self.assertAllEqual(expected_tokens, tokens_by_offsets)
      self.assertAllEqual(expected_starts, starts)
      self.assertAllEqual(expected_ends, ends)
  
      # Use the same arguments to test the tokenize() version, without offsets.
      tokens = self.tokenizer.tokenize(test_strings, test_logits)
      self.assertAllEqual(expected_tokens, tokens)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops.split_merge_from_logits_tokenizer import SplitMergeFromLogitsTokenizer
label_desc: Use image node_id 5 for calling the SplitMergeFromLogitsTokenizerTest obj's underlying member method code with example usage: obj.testVectorMultipleValues() without return types