code: def test_slice_by_table_indices_chunking_length_fallback(self):
      gi = slice_by_table_indices(
          tf.constant(
              [[[0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6]]]
          ),
          tf.constant(
              [[[True, True, True, True, True, True, True]]],
              dtype=tf.bool,
          ),
          eos_pad=tf.convert_to_tensor([0, 99]),
          bos_pad=tf.convert_to_tensor([0, 100]),
          pad_val=tf.convert_to_tensor([0, 101]),
          include_mask=True,
          other_end=tf.constant([[0, 0, 1, 1, 4, 5, 6]]),
          base_model_max_length=5,
      )
      print(gi["values"].numpy())
      assert tf.reduce_all(
          gi["values"]
          == tf.constant(
              [
                  [[0, 100], [0, 0], [0, 1], [0, 2], [0, 99]],
                  [[0, 100], [0, 3], [0, 4], [0, 5], [0, 99]],
                  [[0, 100], [0, 6], [0, 99], [0, 101], [0, 101]],
              ],
              dtype=gi["values"].dtype,
          )
      )
  
imports: import os
  import unittest
  from finetune import SequenceLabeler
  from finetune.base_models import TableRoBERTa
  from finetune.base_models.bert.table_utils import batch_packing, get_gather_indices, slice_by_table_indices, gather_col_vals, scatter_feats, get_summary_values, chunk_ragged_tensor
  import tensorflow
label_desc: Use image node_id 6 for calling the TestTableUtils obj's underlying member method code with example usage: obj.test_slice_by_table_indices_chunking_length_fallback() without return types