code: def generate_beam_examples(path):
      """Yields examples using Beam."""
      beam = tfds.core.lazy_imports.apache_beam
  
      tag_dirs = get_log_paths(path.resolve())
      return beam.Create(tag_dirs) | beam.FlatMap(
          _generate_examples_from_log_path
      )
  
file_path: datasets/tensorflow_datasets/rlds/rlds_base.py
imports: from __future__ import annotations
  import dataclasses
  import os
  from typing import Any, Dict, Generator, List, Optional, Tuple, Union
  from absl import logging
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
  from tensorflow_datasets.rlds import envlogger_reader
label_desc: Use image node_id 4 for calling a global function with example usage: generate_beam_examples(path) and returns: unknown