docstr: Test padding using float values.
docstr_tok: ["Test","padding","using","float","values","."]
code: def test_float_padding(self):
      """Test padding using float values."""
      data = constant_op.constant([[1.0, 1.0, 1.0]])
      axis = 1
      left_pad_value = [-3.5]
      right_pad_value = [3.5]
      expected_result = constant_op.constant(
          [[-3.5, 1.0, 1.0, 1.0, 3.5]]
      )
  
      padded_result = pad_along_dimension_op.pad_along_dimension(
          data=data,
          axis=axis,
          left_pad=left_pad_value,
          right_pad=right_pad_value,
      )
  
      self.assertAllEqual(expected_result, padded_result)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from tensorflow.python.eager import context
  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.ops.ragged import ragged_tensor
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import pad_along_dimension_op
label_desc: Use image node_id 9 for calling the PadAlongDimensionOpTest obj's underlying member method code with example usage: obj.test_float_padding() without return types