- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for mutable_quantization_method (0.94 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec_test.cc
quant_spec.set_quantization_component( QuantizationComponentSpec::COMPONENT_WEIGHT); quant_spec.set_tensor_type(QuantizationComponentSpec::TENSORTYPE_INT_8); auto mutable_quant_method = quant_options.mutable_quantization_method(); *mutable_quant_method->add_quantization_component_specs() = quant_spec; auto output = GetWeightComponentSpec(quant_options); EXPECT_TRUE(output.has_value()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 22 18:28:40 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/fill_quantization_options.cc
QuantizationComponentSpec::BIT_WIDTH_32); break; default: break; } *quantization_options_.mutable_quantization_method() ->mutable_custom_quantization_method() = custom_method; return quantization_options_; } LogicalResult GetActivationBitWidth(QuantizationOptions quantization_options,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
}); // Set the test quantization method to static-range. if (quant_options_.quantization_method().preset_method() == QuantizationMethod::METHOD_UNSPECIFIED) { quant_options_.mutable_quantization_method()->set_preset_method( QuantizationMethod::METHOD_STATIC_RANGE_INT8); } if (quant_options_.quantization_method() .quantization_component_specs() .empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/fill_quantization_options_test.cc
const QuantizationComponentSpec expected_weight_component, const QuantizationComponentSpec expected_bias_component) { QuantizationOptions quantization_options; quantization_options.mutable_quantization_method() ->mutable_preset_quantization_method() ->set_preset_method(preset_quantization_options); QuantizationOptions filled_quantization_options =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 09:05:02 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
quant_spec.set_tensor_type( tensorflow::quantization::QuantizationComponentSpec::TENSORTYPE_INT_8); auto mutable_quant_method = quant_options_.mutable_quantization_method(); *mutable_quant_method->add_quantization_component_specs() = quant_spec; } }; // If a constant is connected to a quantizable op, quantize the constant to have // the provided data type.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
// quantized by this transformation. const int kWeightsMinNumElementsDefault = 1024; quantization::QuantizationOptions quantization_options; quantization_options.mutable_quantization_method()->set_preset_method( quantization::QuantizationMethod::METHOD_DYNAMIC_RANGE_INT8); quantization_options.set_op_set(quantization::UNIFORM_QUANTIZED);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0)