code: def _2seconds_generator_of_2items_with_timing(content):
      yield (time.time(), content)
      time.sleep(2)
      yield (time.time(), content)
  
imports: import time
  from dataclasses import dataclass
  from multiprocessing import Pool
  from unittest import TestCase
  from unittest.mock import patch
  import multiprocess
  import numpy
  import pytest
  from datasets.utils.py_utils import NestedDataStructure, asdict, iflatmap_unordered, map_nested, temp_seed, temporary_assignment, zip_dict
  from .utils import require_tf, require_torch
label_desc: Use image node_id 8 for calling a global function with example usage: _2seconds_generator_of_2items_with_timing(content) without return types