class_docstr: Top-level `FeatureConnector` to manage decoding.
  
  Note that `FeatureConnector` which are declared as `TopLevelFeature` can be
  nested. However, only the top-level feature should be decoded.
  
  `TopLevelFeature` allows better control over the decoding, and
  eventually better support for augmentations.
class_docstr_tok: ["Top-level","`","FeatureConnector","`","to","manage","decoding",".","Note","that","`","FeatureConnector","`","which","are","declared","as","`","TopLevelFeature","`","can","be","nested",".","However",",","only","the","top-level","feature","should","be","decoded",".","`","TopLevelFeature","`","allows","better","control","over","the","decoding",",","and","eventually","better","support","for","augmentations","."]
docstr: Decodes the `tf.train.Example` data into `tf.Tensor`.
  
  See `serialize_example` to encode the data into proto.
  
  Args:
    serialized_example: The tensor-like object containing the serialized
      `tf.train.Example` proto.
    decoders: Eventual decoders to apply (see
      [documentation](https://www.tensorflow.org/datasets/decode))
  
  Returns:
    The decoded features tensors.
docstr_tok: ["Decodes","the","`","tf.train.Example","`","data","into","`","tf.Tensor","`",".","See","`","serialize_example","`","to","encode","the","data","into","proto",".","Args",":","serialized_example",":","The","tensor-like","object","containing","the","serialized","`","tf.train.Example","`","proto",".","decoders",":","Eventual","decoders","to","apply","(","see","[","documentation","]","(","https",":","\/\/www.tensorflow.org\/datasets\/decode",")",")","Returns",":","The","decoded","features","tensors","."]
code: def deserialize_example(
      self,
      serialized_example: Union[tf.Tensor, bytes],
      *,
      decoders=None,
  ) -> utils.TensorDict:
      """Decodes the `tf.train.Example` data into `tf.Tensor`.
  
      See `serialize_example` to encode the data into proto.
  
      Args:
        serialized_example: The tensor-like object containing the serialized
          `tf.train.Example` proto.
        decoders: Eventual decoders to apply (see
          [documentation](https://www.tensorflow.org/datasets/decode))
  
      Returns:
        The decoded features tensors.
      """
      example_data = self._example_parser.parse_example(
          serialized_example
      )
      return self.decode_example(example_data, decoders=decoders)
  
imports: from __future__ import annotations
  import enum
  import functools
  from typing import Any, List, Union
  from tensorflow_datasets.core import example_parser
  from tensorflow_datasets.core import example_serializer
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 8 for calling the TopLevelFeature obj's underlying member method code with example usage: obj.deserialize_example(serialized_example) and returns: self