code: def _make_id_dataset(
      filename: tf.Tensor,  # tf.Tensor[tf.string]
      start_index: tf.Tensor,  # tf.Tensor[tf.int64]
  ) -> tf.data.Dataset:
      """Creates the dataset generating unique example IDs."""
      ds = tf.data.experimental.Counter(start_index)
      ds = ds.map(
          lambda index: _make_id(filename=filename, index=index)
      )
      return ds
  
imports: from __future__ import annotations
  import functools
  import os
  import re
  from typing import Any, Callable, List, NamedTuple, Optional, Sequence
  from absl import logging
  import numpy
  from tensorflow_datasets.core import example_parser
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core import tf_compat
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils import file_utils
  from tensorflow_datasets.core.utils import read_config
  from tensorflow_datasets.core.utils import shard_utils
  from tensorflow_datasets.core.utils import tree_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: _make_id_dataset(filename, start_index) and returns: ds