- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for SYMMETRIC (0.13 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
const bool symmetric) { const float eps = 1e-7; ASSERT_THAT(*float_quant_params.min(), SizeIs(1)); ASSERT_THAT(*float_quant_params.max(), SizeIs(1)); float float_min = std::min(0.f, float_quant_params.min()->Get(0)); float float_max = std::max(0.f, float_quant_params.max()->Get(0)); if (symmetric) { // When the symmetric case, ConvertStatsToQDQs in PrepareQuantizePass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
}; // Matches the pattern for quantized convolution op and rewrites it to use // uniform quantized types. // // Currently assumes asymmetric per-tensor quantization for activations and // symmetric per-channel quantization for filters. // // This pattern represents the following derived equation, where: // * rn = real (expressed) value for tensor n // * qn = quantized value for tensor n
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
module_str = self._extract_first_xla_call_module_op( self._output_saved_model_path ) # Tests that the output graph contains multiply for symmetric # dequantization. self.assertTrue(re.search('stablehlo.multiply', module_str)) # Tests that the output graph contains float dot_general. self.assertTrue(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
src/math/big/int_test.go
for _, a := range sumZZ { arg := a testFunZZ(t, "AddZZ", AddZZ, arg) arg = argZZ{a.z, a.y, a.x} testFunZZ(t, "AddZZ symmetric", AddZZ, arg) arg = argZZ{a.x, a.z, a.y} testFunZZ(t, "SubZZ", SubZZ, arg) arg = argZZ{a.y, a.z, a.x} testFunZZ(t, "SubZZ symmetric", SubZZ, arg) } } func TestProdZZ(t *testing.T) { MulZZ := func(z, x, y *Int) *Int { return z.Mul(x, y) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
// // Furthermore, pi * abs(frac(x)) loses precision when abs(frac(x)) is close // to 1. To remedy this, we can use the fact that sin(pi * x) in the domain // [0, 1] is symmetric across the line Y=0.5. Value abs_input = rewriter.create<AbsOp>(loc, input); Value abs_input_floor = rewriter.create<FloorOp>(loc, abs_input); Value abs_frac_input =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
src/math/big/float_test.go
// should be the same as rounding by SetInt64 after setting the // precision) g := new(Float).SetMode(mode).SetPrec(prec).SetInt64(x) if !alike(g, f) { t.Errorf("round %s (%d bits, %s) not symmetric: got %s and %s; want %s", toBinary(x), prec, mode, toBinary(g.int64()), toBinary(r1), toBinary(r), ) return } // h and f should be the same
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
public boolean contains(@CheckForNull Object element) { return set1.contains(element) && !set2.contains(element); } }; } /** * Returns an unmodifiable <b>view</b> of the symmetric difference of two sets. The returned set * contains all elements that are contained in either {@code set1} or {@code set2} but not in * both. The iteration order of the returned set is undefined. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 77.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Sets.java
public boolean contains(@CheckForNull Object element) { return set1.contains(element) && !set2.contains(element); } }; } /** * Returns an unmodifiable <b>view</b> of the symmetric difference of two sets. The returned set * contains all elements that are contained in either {@code set1} or {@code set2} but not in * both. The iteration order of the returned set is undefined. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 78.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
t.Errorf("Identical(%s, %s) = %t, want %t", X.Type(), Y.Type(), got, test.want) } } } func TestIdentical_issue15173(t *testing.T) { // Identical should allow nil arguments and be symmetric. for _, test := range []struct { x, y Type want bool }{ {Typ[Int], Typ[Int], true}, {Typ[Int], nil, false}, {nil, Typ[Int], false}, {nil, nil, true}, } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
t.Errorf("Identical(%s, %s) = %t, want %t", X.Type(), Y.Type(), got, test.want) } } } func TestIdentical_issue15173(t *testing.T) { // Identical should allow nil arguments and be symmetric. for _, test := range []struct { x, y Type want bool }{ {Typ[Int], Typ[Int], true}, {Typ[Int], nil, false}, {nil, Typ[Int], false}, {nil, nil, true}, } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)