- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for no_quantization (0.22 sec)
-
tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc
} TEST_F(LiftAsFunctionCallTest, GetQuantizationMethodSucceeds) { // Function containing a simple `TF::XlaCallModuleOp` with a valid string // attribute `_quantization_method` set to `"no_quantization {}"`. constexpr absl::string_view kXlaCallModuleOpWithQuantizationMethodAttr = R"mlir( func.func @main(%arg0: tensor<1x1x3xf32>, %arg1: tensor<3x4xf32>) -> tensor<1x1x4xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 26.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc
EXPECT_TRUE(IsOpQuantizableStableHlo(xla_call_module_op)); } TEST_F(IsOpQuantizableStableHloTest, DenylistedXlaCallModuleOpNotQuantizable) { // A `TF::XlaCallModuleOp` with `_quantization_method = "no_quantization {}"`, // indicating it has been explicitly denylisted by the user. constexpr absl::string_view kModuleDenylistedXlaCallModuleOp = R"mlir(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc
// matcher {function_name {regex: "composite_conv.*"}} // method {static_range_ptq {...}}} // } // specs { // matcher {function_name {regex: "composite_dot_general_fn_1"}} // method {no_quantization {}} // } const QuantizationConfig new_config = ExpandPresets(config); ASSERT_THAT(new_config.specs().specs(), SizeIs(3)); const QuantizationSpec& first_spec = new_config.specs().specs(0);
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/quantization_config.proto
// Matches lifted functions by their names. FunctionNameMatcherSpec function_name = 1; } // Specifies how to quantize matched quantizable units. message Method { oneof method { NoQuantization no_quantization = 1; StaticRangePtq static_range_ptq = 2; WeightOnlyPtq weight_only_ptq = 3; } } // A QuantizationSpec is essentially a (matcher spec, quantization method) pair,
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/report_test.cc
ASSERT_THAT(results.results(), SizeIs(1)); // Test that the unquantized `QuantizableUnit` corresponding to // `composite_dot_general_fn` is captured. The `Method` contains // `NoQuantization`. const QuantizationResult& result = results.results(0); EXPECT_THAT(result.quantizable_unit().name(), StrEq("composite_dot_general_fn")); EXPECT_TRUE(result.method().has_no_quantization()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 18.5K bytes - Viewed (0)