- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WeightOnlyPtq (0.12 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
#include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc" namespace { using ::stablehlo::quantization::Method; using ::stablehlo::quantization::QuantizedType; using ::stablehlo::quantization::WeightOnlyPtq; // Inserts quantization parameters of weights for weight-only quantization and // dynamic range quantization of `stablehlo.convolution` and // `stablehlo.dot_general`. class InsertWeightParamPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto
message StaticRangePtq { // Operand index -> QuantizedType mapping. Operands that are not specified // here will be quantized with best effort. map<int32, QuantizedType> input_quantized_types = 1; } message WeightOnlyPtq { // Operand index -> QuantizedType mapping. Operands that are not specified // here will be quantized with best effort. map<int32, QuantizedType> input_quantized_types = 1; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 14.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc
EXPECT_THAT(spec.matcher().function_name().regex(), StrEq("^.*(conv|dot_general).*")); EXPECT_TRUE(spec.method().has_weight_only_ptq()); const WeightOnlyPtq& weight_only_ptq_spec = spec.method().weight_only_ptq(); EXPECT_THAT(weight_only_ptq_spec.input_quantized_types(), UnorderedElementsAre(Pair( 1, Truly([](const auto& quantized_type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 06:59:34 UTC 2024 - 12K bytes - Viewed (0)