code: def _transform_example(
      example: Example,
      transformations: List[transform_lib.ExampleTransformFn],
  ) -> Iterator[KeyExample]:
      key = example.pop("tfds_id")
      yield from transform_lib.apply_transformations(
          key=key, example=example, transformations=transformations
      )
  
imports: from __future__ import annotations
  import functools
  from typing import Callable, Dict, Iterator, List, Optional, Union
  from tensorflow_datasets.core import beam_utils
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import dataset_utils
  from tensorflow_datasets.core import load
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import registered
  from tensorflow_datasets.core import split_builder
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core import transform
  from tensorflow_datasets.core.download import download_manager
  from tensorflow_datasets.core.utils import read_config
  from tensorflow_datasets.core.utils.lazy_imports_utils import apache_beam
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: _transform_example(example, transformations) without return types