- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for freeze_all_variables (0.19 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc
absl::StatusOr<ExportedModel> exported_model = ModuleOpToExportedModel( *cloned_module_ref, context, kTfQuantPtqPreCalibrationStepName, /*unfreeze_constants=*/!quantization_options.freeze_all_variables(), function_aliases); if (!exported_model.status().ok()) { return absl::InternalError( absl::StrCat("Failed to export calibration model: ",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py
quantization_options.signature_keys.append( signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY ) if not quantization_options.HasField('freeze_all_variables'): quantization_options.freeze_all_variables = True if quantization_options.enable_legacy_weight_only: raise ValueError( 'Legacy weight-only is deprecated. Use weight-only quantization method.' )
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 34.2K bytes - Viewed (0)