code: def download_gcs_dataset(
      dataset_name: epath.PathLike,
      local_dataset_dir: epath.PathLike,
      max_simultaneous_downloads: int = 25,
      root_dir: Optional[str] = None,
  ):
      """Downloads prepared GCS dataset to local dataset directory."""
      if root_dir:
          gcs_folder = epath.Path(root_dir) / dataset_name
      else:
          gcs_folder = (
              epath.Path(GCS_ROOT_DIR) / GCS_DATASETS_DIR / dataset_name
          )
  
      download_gcs_folder(
          gcs_folder=gcs_folder,
          local_folder=local_dataset_dir,
          max_simultaneous_downloads=max_simultaneous_downloads,
      )
  
file_path: datasets/tensorflow_datasets/core/utils/gcs_utils.py
imports: import concurrent.futures
  import os
  import posixpath
  from typing import List, Optional
  from etils import epath
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils import tqdm_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 9 for calling a global function with example usage: download_gcs_dataset(dataset_name, local_dataset_dir, max_simultaneous_downloads, root_dir) without return types