code: def duplicate(
      example: transform_lib.Example,
  ) -> Iterator[transform_lib.Example]:
      yield example
      yield example
  
file_path: datasets/tensorflow_datasets/core/transform/transform_lib_test.py
imports: import functools
  from typing import Iterator
  import pytest
  from tensorflow_datasets.core.transform import transform_lib
label_desc: Use image node_id 3 for calling a global function with example usage: duplicate(example) without return types