Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for src_saved_model_path_ (0.34 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.cc

        : ctx_(ABSL_DIE_IF_NULL(ctx)),                          // Crash OK
          py_function_lib_(ABSL_DIE_IF_NULL(py_function_lib)),  // Crash OK
          src_saved_model_path_(src_saved_model_path),
          function_aliases_(std::move(function_aliases)),
          tags_(std::move(tags)),
          signature_def_map_(std::move(signature_def_map)),
          signature_keys_(std::move(signature_keys)) {}
    
    absl::Status CalibrationComponent::ExportToSavedModel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h

      // from the python level using pybind11.
      absl::Nonnull<const tensorflow::quantization::PyFunctionLibrary*>
          py_function_lib_;
    
      // Path to the pre-calibrated SavedModel.
      std::string src_saved_model_path_;
    
      // Function alias mapping for pre-calibrated SavedModel. Used to preserve
      // aliased functions.
      absl::flat_hash_map<FunctionName, FunctionAlias> function_aliases_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

    
    def _run_static_range_qat(
        src_saved_model_path: str,
        dst_saved_model_path: str,
        quant_opts: _QuantizationOptions,
        signature_def_map: _SignatureDefMap,
    ) -> None:
      """Runs static-range quantization for a Quantization-Aware Trained model.
    
      Runs the quantization for a model trained using QAT.
    
      Args:
        src_saved_model_path: Path to the source SavedModel directory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization_lib.cc

    absl::Status PywrapQuantizeStaticRangePtq(
        absl::string_view src_saved_model_path,
        absl::string_view dst_saved_model_path, const QuantizationConfig& config,
        const std::vector<std::string>& signature_keys,
        const absl::flat_hash_map<std::string, SignatureDef>& signature_def_map,
        const PyFunctionLibrary& py_function_library) {
      return QuantizeStaticRangePtq(src_saved_model_path, dst_saved_model_path,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 02:51:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        exported_model: exported_model_pb2.ExportedModel,
        src_saved_model_path: str,
        dst_saved_model_path: str,
        signature_def_map: Mapping[str, meta_graph_pb2.SignatureDef],
        tags: Collection[str],
    ) -> bool:
      """Saves the model and copies the assets from the source model.
    
      Args:
        exported_model: ExportedModel to save.
        src_saved_model_path: Path to the source SavedModel. This will be used to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top