class_docstr: A `Dataset` that batches ragged dense elements into `tf.sparse.SparseTensor`s.
class_docstr_tok: ["A","`","Dataset","`","that","batches","ragged","dense","elements","into","`","tf.sparse.SparseTensor","`","s","."]
code: def element_spec(self):
      return self._element_spec
  
file_path: tensorflow/tensorflow/python/data/ops/sparse_batch_op.py
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.util import convert
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.ops import gen_experimental_dataset_ops
label_desc: Use image node_id 2 for calling the _DenseToSparseBatchDataset obj's underlying member method code with example usage: obj.element_spec() and returns: self