class_docstr: A `Dataset` that groups its input and performs a reduction.
class_docstr_tok: ["A","`","Dataset","`","that","groups","its","input","and","performs","a","reduction","."]
code: def element_spec(self):
      return self._finalize_func.output_structure
  
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import structured_function
  from tensorflow.python.data.util import nest
  from tensorflow.python.data.util import structure
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.ops import gen_experimental_dataset_ops
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 6 for calling the _GroupByReducerDataset obj's underlying member method code with example usage: obj.element_spec() and returns: self