code: def testSplitByOffsets3DimMatrix(self):
      test_value = [
          [["hello", "hola"], ["lolz", "haha"]],
          [["goodbye", "muñdʓ"], ["bye", "mudʓ"]],
      ]
      starts = [
          [[[0, 4], [0, 2]], [[0, 3], [0, 2]]],
          [[[0, 4], [0, 2]], [[0, 3], [0, 2]]],
      ]
      ends = [
          [[[4, 5], [2, 4]], [[3, 4], [2, 4]]],
          [[[3, 7], [2, 7]], [[3, 3], [2, 5]]],
      ]
      expected = []
      for i in range(2):
          row = []
          for j in range(2):
              row.append(
                  [
                      _split_by_offsets(
                          test_value[i][j][k],
                          starts[i][j][k],
                          ends[i][j][k],
                      )
                      for k in range(2)
                  ]
              )
          expected.append(row)
      vals = self.byte_splitter.split_by_offsets(
          test_value, starts, ends
      )
      self.assertAllEqual(vals, expected)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  import tensorflow_text
  from tensorflow.lite.python import interpreter
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 18 for calling the ByteSplitterTest obj's underlying member method code with example usage: obj.testSplitByOffsets3DimMatrix() without return types