code: def iterate_config_paths() -> (
      Iterable[Tuple[str, pathlib.Path, pathlib.Path]]
  ):
      """Iterate over all configuration paths."""
      for model_directory in HERE.iterdir():
          if model_directory.name not in model_resolver.lookup_dict:
              continue
          for config in model_directory.iterdir():
              if config.name.startswith("hpo"):
                  continue
              path = model_directory.joinpath(config)
              if (
                  not path.is_file()
                  or path.suffix not in CONFIGURATION_FILE_FORMATS
              ):
                  continue
              yield model_directory.name, config, path
  
file_path: pykeen/src/pykeen/experiments/validate.py
imports: import inspect
  import pathlib
  from typing import Callable, Iterable, Optional, Set, Tuple, Type, Union
  import torch
  from class_resolver import Hint
  from torch import nn
  from .cli import HERE
  from ..datasets import dataset_resolver
  from ..evaluation.evaluator import normalize_flattened_metric_results
  from ..evaluation.rank_based_evaluator import RankBasedEvaluator
  from ..losses import loss_resolver
  from ..models import Model, model_resolver
  from ..optimizers import optimizer_resolver
  from ..regularizers import regularizer_resolver
  from ..sampling import negative_sampler_resolver
  from ..training import training_loop_resolver
  from ..utils import CONFIGURATION_FILE_FORMATS, load_configuration, normalize_string
label_desc: Use image node_id 1 for calling a global function with example usage: iterate_config_paths() without return types