- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for mutable_method (0.16 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc
spec.mutable_method()->mutable_static_range_ptq(); return spec; } QuantizationSpec GetDefaultWeightOnlyPtqSpec() { QuantizationSpec spec{}; spec.mutable_matcher()->mutable_function_name()->set_regex( "^.*(conv|dot_general).*"); WeightOnlyPtq& weight_only_ptq_spec = *spec.mutable_method()->mutable_weight_only_ptq(); if (auto [iter, inserted] =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc
return std::nullopt; } QuantizationResult result{}; result.mutable_quantizable_unit()->set_name( GetCompositeFunctionName(callee_name)); *result.mutable_method() = std::move(*method); return result; } // Retrieves `QuantizationResult` from `xla_call_module_op`. If // `xla_call_module_op` is a quantizable unit, then a `QuantizationResult` will
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc
QuantizationSpec& user_provided_spec = *config.mutable_specs()->add_specs(); user_provided_spec.mutable_matcher()->mutable_function_name()->set_regex( "composite_dot_general_fn_1"); user_provided_spec.mutable_method()->mutable_no_quantization(); // Test that the expanded `QuantizationSpec`s are populated first and then // user-provided specs are appended. // // It should look like: //
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/stablehlo/cc/report_test.cc
QuantizationResult result{}; QuantizableUnit& quantizable_unit = *result.mutable_quantizable_unit(); quantizable_unit.set_name("quantized_my_function"); Method& method = *result.mutable_method(); method.mutable_no_quantization(); QuantizationReport report{}; report.AddQuantizationResult(std::move(result)); const QuantizationResults& results = report.GetQuantizationResults();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 18.5K bytes - Viewed (0)