Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for list_directory_v2 (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

      Raises:
        FileExistsError: Iff `output_dir` is not empty and `overwrite` is false.
      """
      dir_not_empty = (
          output_dir is not None
          and file_io.file_exists_v2(output_dir)
          and file_io.list_directory_v2(output_dir)
      )
    
      if dir_not_empty and not overwrite:
        raise FileExistsError(
            f'Output directory already exists: {output_dir} . '
            'Please set overwrite_output_directory to true to '
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top