class_docstr: A `Dataset` that maps a function over elements in its using a GPU.
class_docstr_tok: ["A","`","Dataset","`","that","maps","a","function","over","elements","in","its","using","a","GPU","."]
code: def element_spec(self):
      return self._map_func.output_structure
  
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import iterator_ops
  from tensorflow.python.data.ops import structured_function
  from tensorflow.python.data.util import structure
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import device
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import functional_ops
  from tensorflow.python.ops import gen_dataset_ops
  from tensorflow.python.ops import gen_experimental_dataset_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 3 for calling the _MapOnGpuDataset obj's underlying member method code with example usage: obj.element_spec() and returns: self