code: def references_for(
      name_to_tfds_name: Mapping[str, str]
  ) -> Mapping[str, DatasetReference]:
      """Constructs of dataset references.
  
      Note that you can specify the config and the version in the TFDS name.
      For example:
      ```
      references_for(name_to_tfds_name={
        "wiki_it": "wikipedia/20201201.it:1.0.0",
        "wiki_en": "scan/length:1.1.1",
      })
      ```
  
      Args:
        name_to_tfds_name: The mapping between name to be used in the dataset
          collection and the TFDS name (plus optional config and version).
  
      Returns:
        Returns a dictionary of dataset_name: `DatasetReference`.
      """
      return {
          name: DatasetReference.from_tfds_name(tfds_name)
          for name, tfds_name in name_to_tfds_name.items()
      }
  
imports: from __future__ import annotations
  import dataclasses
  import functools
  import os
  import re
  import textwrap
  from typing import Any, Dict, List, Mapping, MutableMapping, Optional, Tuple, Union
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils import version
label_desc: Use image node_id 5 for calling a global function with example usage: references_for(name_to_tfds_name) and returns: unknown