class_docstr: A `Dataset` that batches and pads contiguous elements from its input.
class_docstr_tok: ["A","`","Dataset","`","that","batches","and","pads","contiguous","elements","from","its","input","."]
code: def element_spec(self):
      return self._structure
  
imports: import numpy
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.util import nest
  from tensorflow.python.data.util import structure
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import smart_cond
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import gen_dataset_ops
label_desc: Use image node_id 2 for calling the _PaddedBatchDataset obj's underlying member method code with example usage: obj.element_spec() and returns: self