docstr: Test sliding_window when axis is 0.
  
  data_shape: [5, 3]
  
  result_shape: [4, 2, 3]
docstr_tok: ["Test","sliding_window","when","axis","is","0.","data_shape",":","[","5",",","3","]","result_shape",":","[","4",",","2",",","3","]"]
code: def test_sliding_window_for_data_with_zero_axis(self):
      """Test sliding_window when axis is 0.
  
      data_shape: [5, 3]
  
      result_shape: [4, 2, 3]
      """
      data = constant_op.constant(
          [[1, 1, 1], [2, 2, 1], [3, 3, 1], [4, 4, 1], [5, 5, 1]]
      )
  
      width = 2
      axis = 0
  
      expected_result = constant_op.constant(
          [
              [[1, 1, 1], [2, 2, 1]],
              [[2, 2, 1], [3, 3, 1]],
              [[3, 3, 1], [4, 4, 1]],
              [[4, 4, 1], [5, 5, 1]],
          ]
      )
      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 5 for calling the SlidingWindowOpTest obj's underlying member method code with example usage: obj.test_sliding_window_for_data_with_zero_axis() without return types