code: def test3DimMatrix(self):
      test_value = constant_op.constant(
          [
              [[b"!!", b"Good"], [b"ab", b"cd"]],
              [[b"12", b"3"], [b"scrub", b"a guy"]],
          ]
      )
      expected_tokens = [
          [
              [
                  [ord("!"), ord("!")],
                  [ord("G"), ord("o"), ord("o"), ord("d")],
              ],
              [[ord("a"), ord("b")], [ord("c"), ord("d")]],
          ],
          [
              [[ord("1"), ord("2")], [ord("3")]],
              [
                  [ord("s"), ord("c"), ord("r"), ord("u"), ord("b")],
                  [ord("a"), ord(" "), ord("g"), ord("u"), ord("y")],
              ],
          ],
      ]
      expected_offset_starts = [
          [[[0, 1], [0, 1, 2, 3]], [[0, 1], [0, 1]]],
          [[[0, 1], [0]], [[0, 1, 2, 3, 4], [0, 1, 2, 3, 4]]],
      ]
      expected_offset_ends = [
          [[[1, 2], [1, 2, 3, 4]], [[1, 2], [1, 2]]],
          [[[1, 2], [1]], [[1, 2, 3, 4, 5], [1, 2, 3, 4, 5]]],
      ]
      tokens = self.tokenizer.tokenize(test_value)
      self.assertAllEqual(tokens, expected_tokens)
      (tokens, starts, ends) = self.tokenizer.tokenize_with_offsets(
          test_value
      )
      self.assertAllEqual(tokens, expected_tokens)
      self.assertAllEqual(starts, expected_offset_starts)
      self.assertAllEqual(ends, expected_offset_ends)
  
      detokenized = self.tokenizer.detokenize(tokens)
      print(detokenized)
      self.assertAllEqual(
          self.evaluate(detokenized).to_list(),
          self.evaluate(test_value).tolist(),
      )
  
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 test_util
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops.unicode_char_tokenizer import UnicodeCharTokenizer
label_desc: Use image node_id 8 for calling the UnicodeCharTokenizerOpTest obj's underlying member method code with example usage: obj.test3DimMatrix() without return types