code: def test_ragged_tensor_output_length(self):
      layer = layers.TextVectorization(
          output_mode="int",
          vocabulary=["baz", "bar", "foo"],
          ragged=True,
          output_sequence_length=2,
      )
      input_data = [["foo qux bar"], ["qux baz"], ["foo"]]
      output = layer(input_data)
      self.assertIsInstance(output, tf.RaggedTensor)
      self.assertEqual(output.shape, (3, None))
      self.assertEqual(output.to_list(), [[4, 1], [1, 2], [4]])
  
file_path: keras/keras/layers/preprocessing/text_vectorization_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow import data
  from keras import backend
  from keras import layers
  from keras import models
  from keras import testing
label_desc: Use image node_id 8 for calling the TextVectorizationTest obj's underlying member method code with example usage: obj.test_ragged_tensor_output_length() without return types