Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for run_calibration (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_function_lib.pyi

          src_saved_model_path: str,
          tags: set[str],
          serialized_signature_def_map: dict[str, bytes],
      ) -> Optional[bool]: ...
      # LINT.ThenChange()
    
      # LINT.IfChange(run_calibration)
      def run_calibration(
          self,
          saved_model_path: str,
          signature_keys: list[str],
          tags: set[str],
          force_graph_mode_calibration: bool,
          # Value type: RepresentativeDatasetFile.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_function_lib.cc

               py::arg("exported_model_serialized"),
               py::arg("src_saved_model_path"), py::arg("tags"),
               py::arg("serialized_signature_def_map"))
          .def("run_calibration", &PyFunctionLibrary::RunCalibration,
               py::arg("saved_model_path"), py::arg("signature_keys"),
               py::arg("tags"), py::arg("force_graph_mode_calibration"),
               py::arg("representative_dataset_file_map_serialized"))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h

      //
      // If the function signature changes, likely its corresponding .pyi type
      // hinting and definition should also change.
      // LINT.IfChange(run_calibration)
      virtual std::optional<bool> RunCalibration(
          absl::string_view saved_model_path,
          const std::vector<std::string>& signature_keys,
          const std::unordered_set<std::string>& tags,
          bool force_graph_mode_calibration,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

      # file.
      # LINT.IfChange(run_calibration)
      def run_calibration(
          self,
          saved_model_path: str,
          signature_keys: list[str],
          tags: set[str],
          force_graph_mode_calibration: bool,
          representative_dataset_file_map_serialized: dict[str, bytes],
      ) -> Optional[bool]:
        # LINT.ThenChange(py_function_lib.h:run_calibration)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.cc

        TF_ASSIGN_OR_RETURN(
            const auto representative_dataset_file_map,
            CreateRepresentativeDatasetFileMap(dataset_config_vector));
    
        // Run calibration on the exported model.
        if (py_function_lib_->RunCalibration(
                calibration_saved_model_dir, signature_keys_, tags_,
                /*force_graph_mode_calibration=*/true,
                representative_dataset_file_map) == std::nullopt) {
          return absl::InternalError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

        py_function_library.SaveExportedModel(
            calibration_saved_model_dir, calibration_exported_model,
            saved_model_path, tags, signature_def_map);
    
        py_function_library.RunCalibration(
            calibration_saved_model_dir, signature_keys, tags,
            quantization_options.force_graph_mode_calibration(),
            representative_dataset_file_map_serialized);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top