code: def generate_examples(path):
      """Yields examples."""
      # TODO(sabela): Consider adding the option of passing a filter to remove
      # some of the episodes.
      tag_dirs = get_log_paths(path.resolve())
      for tag_dir in tag_dirs:
          yield from _generate_examples_from_log_path(tag_dir)
  
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 3 for calling a global function with example usage: generate_examples(path) without return types