code: def test3DRaggedTensorWithOneRaggedDimension(self):
      rt = ragged_factory_ops.constant(
          [
              [[1, 2], [3, 4]],
              [[5, 6], [7, 8], [9, 10]],
              [[11, 12]],
              [],
              [[13, 14]],
          ],
          ragged_rank=1,
      )
      st = self.evaluate(rt.to_sparse())
      self.assertAllEqual(
          st.indices,
          [
              [0, 0, 0],
              [0, 0, 1],
              [0, 1, 0],
              [0, 1, 1],
              [1, 0, 0],
              [1, 0, 1],
              [1, 1, 0],
              [1, 1, 1],
              [1, 2, 0],
              [1, 2, 1],
              [2, 0, 0],
              [2, 0, 1],
              [4, 0, 0],
              [4, 0, 1],
          ],
      )
      self.assertAllEqual(
          st.values, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
      )
      self.assertAllEqual(st.dense_shape, [5, 3, 2])
  
imports: from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_functional_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the RaggedTensorToSparseOpTest obj's underlying member method code with example usage: obj.test3DRaggedTensorWithOneRaggedDimension() without return types