code: def _publish_data(
      publish_data_dir: epath.Path,
      builder: tfds.core.DatasetBuilder,
      overwrite: bool = False,
  ) -> None:
      """Publishes the data from the given builder to `publish_data_dir`.
  
      Arguments:
        publish_data_dir: folder where the data should be published. Should include
          config and version.
        builder: the builder whose data needs to be published.
        overwrite: whether to overwrite existing data in the `publish_root_dir` if
          it exists.
      """
      from_data_dir = epath.Path(builder.data_dir)
      publish_data_dir.mkdir(parents=True, exist_ok=True)
      for filepath in from_data_dir.iterdir():
          filepath.copy(
              dst=publish_data_dir / filepath.name, overwrite=overwrite
          )
  
imports: import argparse
  import functools
  import importlib
  import itertools
  import json
  import multiprocessing
  import os
  import typing
  from typing import Dict, Iterator, Optional, Tuple, Type, Union
  from absl import logging
  from etils import epath
  import tensorflow_datasets
label_desc: Use image node_id 11 for calling a global function with example usage: _publish_data(publish_data_dir, builder, overwrite) without return types