code: def parse_single_example(
      serialized, features, name=None, example_names=None
  ):
      """Parses a single `Example` proto.
  
      Similar to `parse_example`, except:
  
      For dense tensors, the returned `Tensor` is identical to the output of
      `parse_example`, except there is no batch dimension, the output shape is the
      same as the shape given in `dense_shape`.
  
      For `SparseTensor`s, the first (batch) column of the indices matrix is removed
      (the indices matrix is a column vector), the values vector is unchanged, and
      the first (`batch_size`) entry of the shape vector is removed (it is now a
      single element vector).
  
      One might see performance advantages by batching `Example` protos with
      `parse_example` instead of using this function directly.
  
      Args:
        serialized: A scalar string Tensor, a single serialized Example.
        features: A mapping of feature keys to `FixedLenFeature` or
          `VarLenFeature` values.
        name: A name for this operation (optional).
        example_names: (Optional) A scalar string Tensor, the associated name.
  
      Returns:
        A `dict` mapping feature keys to `Tensor` and `SparseTensor` values.
  
      Raises:
        ValueError: if any feature is invalid.
      """
      return parse_single_example_v2(
          serialized, features, example_names, name
      )
  
imports: from tensorflow.python.framework import ops
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_assert
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import gen_parsing_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import parsing_config
  from tensorflow.python.ops import parsing_grad
  from tensorflow.python.ops.gen_parsing_ops import *
  from tensorflow.python.util import deprecation
  from tensorflow.python.util import dispatch
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 5 for calling a global function with example usage: parse_single_example(serialized, features, name, example_names) and returns: parse_single_example_v2