- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for src_saved_model_path (0.34 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/static_range_ptq.cc
function_aliases = GetFunctionAliases(src_saved_model_path, tags); if (!function_aliases.ok()) { return absl::InternalError(absl::StrCat( "Failed to get function alias: ", function_aliases.status().message())); } TF_ASSIGN_OR_RETURN( OwningOpRef<ModuleOp> module, ImportSavedModel(src_saved_model_path, signature_keys, tags,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc
} py_function_library.SaveExportedModel( dst_saved_model_path, *exported_model, src_saved_model_path, tags, signature_def_map); return absl::OkStatus(); }, R"pbdoc( Quantizes a model that went through quantization-aware training (QAT) saved at `src_saved_model_path`. The resulting model will be saved to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:33:29 UTC 2024 - 12K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/quantization.py
return True return False # TODO: b/310594193 - Export API to pip package. def quantize_saved_model( src_saved_model_path: str, dst_saved_model_path: str, config: qc.QuantizationConfig, ) -> None: """Quantizes a saved model. Args: src_saved_model_path: Path to the directory for the source SavedModel. dst_saved_model_path: Path to the directory for the destination SavedModel.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 12:53:33 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.cc
function_aliases = GetFunctionAliases(src_saved_model_path, tags); if (!function_aliases.ok()) { return absl::InternalError(absl::StrCat( "Failed to get function alias: ", function_aliases.status().message())); } TF_ASSIGN_OR_RETURN( auto module, ImportSavedModel(src_saved_model_path, signature_keys, tags,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 5.1K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h
// on member fields. class PyFunctionLibrary { public: virtual ~PyFunctionLibrary() = default; // Saves `exported_model` to `dst_saved_model_path` as SavedModel. // `src_saved_model_path` is the path to the source SavedModel from which the // exported model is produced. It is used to copy the asset files to // `dst_saved_model_path`. `tags` will be attached to the saved
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:33:29 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_function_lib.cc
const absl::string_view src_saved_model_path, const std::unordered_set<std::string>& tags, const absl::flat_hash_map<std::string, SignatureDef>& signature_def_map) const override { PYBIND11_OVERRIDE_PURE(std::optional<bool>, PyFunctionLibrary, save_exported_model, dst_saved_model_path, exported_model, src_saved_model_path, tags,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:33:29 UTC 2024 - 5K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_function_lib.pyi
class PyFunctionLibrary: # LINT.IfChange(save_exported_model) def save_exported_model( self, dst_saved_model_path: str, exported_model_serialized: bytes, 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,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:33:29 UTC 2024 - 1.6K bytes - Viewed (0)