code: def _create_empty_output_dir(output_directory: str) -> None:
      """Creates the `output_directory`.
  
      If `output_directory` already exists, it recursively deletes all contents
      inside the directory.
  
      Also creates the parent & intermediate directories.
  
      Args:
        output_directory: Output directory.
      """
      if file_io.file_exists_v2(output_directory):
          logging.info(
              "Deleting existing directory for quantized model output: %s .",
              output_directory,
          )
          file_io.delete_recursively_v2(output_directory)
  
      file_io.recursive_create_dir_v2(output_directory)
  
imports: from typing import Collection, Dict, Mapping, Optional, Sequence
  from absl import logging
  from google.protobuf.any_pb2 import Any
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.core.protobuf import saver_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import importer
  from tensorflow.python.framework import ops
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.saved_model import builder
  from tensorflow.python.saved_model import constants
  from tensorflow.python.saved_model import loader_impl
  from tensorflow.python.saved_model import tag_constants
  from tensorflow.python.training import saver
label_desc: Use image node_id 3 for calling a global function with example usage: _create_empty_output_dir(output_directory) without return types