code: def test_axis(self):
      signal = np.reshape(np.arange(16), (2, 4, 2))
      result = shape_ops.frame(
          signal, frame_length=2, frame_step=2, pad_end=True, axis=1
      )
      expected = np.reshape(np.arange(16), (2, 2, 2, 2))
      self.assertAllEqual(expected, self.evaluate(result))
  
      result = shape_ops.frame(
          signal, frame_length=2, frame_step=1, pad_end=True, axis=1
      )
      expected = [
          [
              [[0, 1], [2, 3]],
              [[2, 3], [4, 5]],
              [[4, 5], [6, 7]],
              [[6, 7], [0, 0]],
          ],
          [
              [[8, 9], [10, 11]],
              [[10, 11], [12, 13]],
              [[12, 13], [14, 15]],
              [[14, 15], [0, 0]],
          ],
      ]
      self.assertAllEqual(expected, self.evaluate(result))
  
      result = shape_ops.frame(
          signal, frame_length=3, frame_step=1, pad_end=True, axis=1
      )
      expected = [
          [
              [[0, 1], [2, 3], [4, 5]],
              [[2, 3], [4, 5], [6, 7]],
              [[4, 5], [6, 7], [0, 0]],
              [[6, 7], [0, 0], [0, 0]],
          ],
          [
              [[8, 9], [10, 11], [12, 13]],
              [[10, 11], [12, 13], [14, 15]],
              [[12, 13], [14, 15], [0, 0]],
              [[14, 15], [0, 0], [0, 0]],
          ],
      ]
      self.assertAllEqual(expected, self.evaluate(result))
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.kernel_tests.signal import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.signal import shape_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the FrameTest obj's underlying member method code with example usage: obj.test_axis() without return types