- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mutable_static_range_ptq_preset (0.29 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc
TEST(ExpandPresetsTest, ExpandStaticRangePtqEnableFullIntquantization) { QuantizationConfig config{}; RepresentativeDatasetConfig& preset_dataset_config = *config.mutable_static_range_ptq_preset()->add_representative_datasets(); config.mutable_static_range_ptq_preset()->set_enable_full_int_quantization( true); preset_dataset_config.mutable_tf_record()->set_path("/test/path");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 06:59:34 UTC 2024 - 12K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc
const QuantizationOptions &quantization_options) { QuantizationConfig quantization_config{}; // TODO: b/331302857 - Remove `enable_per_channel_quantized_weight` usage. quantization_config.mutable_static_range_ptq_preset() ->set_enable_per_channel_quantized_weight( quantization_options.enable_per_channel_quantization()); // When targeting server TPUs quantized types should be unpacked into // integer ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 23.8K bytes - Viewed (0)