docstr: Test the 1D example in the sliding_window docstring.
docstr_tok: ["Test","the","1D","example","in","the","sliding_window","docstring","."]
code: def test_docstring_example_1d_tensor(self):
      """Test the 1D example in the sliding_window docstring."""
      data = constant_op.constant(
          ["one", "two", "three", "four", "five"]
      )
      width = 3
      axis = -1
  
      expected_result = constant_op.constant(
          [
              ["one", "two", "three"],
              ["two", "three", "four"],
              ["three", "four", "five"],
          ]
      )  # pyformat: disable
      self._test_sliding_window_op(expected_result, data, width, axis)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import sliding_window_op
label_desc: Use image node_id 10 for calling the SlidingWindowOpTest obj's underlying member method code with example usage: obj.test_docstring_example_1d_tensor() without return types