code: def create_dataset_files(
      dataset_name: str,
      dataset_dir: pathlib.Path,
      data_format: Optional[str] = None,
  ) -> None:
      """Creates the dataset files."""
      # Creates the root directory
      dataset_dir = dataset_dir.expanduser().resolve() / dataset_name
      dataset_dir.mkdir(parents=True)
      in_tfds = "tensorflow_datasets" in dataset_dir.parts
  
      info = utils.DatasetInfo(
          name=dataset_name,
          in_tfds=in_tfds,
          path=dataset_dir,
          data_format=data_format,
      )
  
      _create_dataset_file(info)
      _create_dataset_test(info)
      _create_dataset_readme(info)
      _create_dataset_citations(info)
      _create_dataset_tags(info)
      _create_init(info)
      _create_dummy_data(info)
      _create_checksum(info)
      if in_tfds:
          _add_to_parent_init(info)
  
      print(
          "Dataset generated at {}\n"
          "You can start searching `{}` to complete the implementation.\n"
          "Please check "
          "https://www.tensorflow.org/datasets/add_dataset for additional details.".format(
              info.path, info.todo
          )
      )
  
imports: import argparse
  import os
  import pathlib
  import subprocess
  import textwrap
  from typing import Optional
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import dataset_metadata
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core.utils import resource_utils
  from tensorflow_datasets.scripts.cli import builder_templates
  from tensorflow_datasets.scripts.cli import cli_utils
label_desc: Use image node_id 3 for calling a global function with example usage: create_dataset_files(dataset_name, dataset_dir, data_format) without return types