class_docstr: Parse Examples with NumPy (without any usage of TensorFlow).
class_docstr_tok: ["Parse","Examples","with","NumPy","(","without","any","usage","of","TensorFlow",")","."]
code: def parse_example(
      self, serialized_example: bytes
  ) -> Mapping[str, Union[np.ndarray, list[Any]]]:
      example = tf_example_pb2.Example.FromString(serialized_example)
      np_example = _features_to_numpy(
          example.features, self._flat_example_specs
      )
      return utils.pack_as_nest_dict(np_example, self.example_specs)
  
imports: from __future__ import annotations
  import abc
  from collections.abc import Iterable, Mapping, Sequence
  import dataclasses
  import re
  from typing import Any, Union
  import numpy
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.utils import dtype_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.proto import tf_example_pb2
  from tensorflow_datasets.proto import tf_feature_pb2
label_desc: Use image node_id 2 for calling the ExampleParserNp obj's underlying member method code with example usage: obj.parse_example(serialized_example) and returns: utils