- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,055 for multiplier (0.29 sec)
-
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoKotlinJvmPluginAggregationTest.groovy
@Test public void testMultiply() { Multiplier multiplier = new Multiplier(); Assert.assertEquals(1, multiplier.multiply(1, 1)); Assert.assertEquals(4, multiplier.multiply(2, 2)); Assert.assertEquals(2, multiplier.multiply(1, 2)); } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/TransformLoggingIntegrationTest.groovy
abstract class Multiplier implements TransformAction<TransformParameters.None> { private final boolean showOutput = System.getProperty("showOutput") != null private final String target Multiplier(String target) { if (showOutput) { println("Creating multiplier") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/numerical_utils.cc
namespace quant { // Converts a double-precision floating-point multiplier to a quantized // multiplier. // // Args: // double_multiplier: The double-precision floating-point multiplier. // // Returns: // A quantized multiplier, represented as a pair of integers: the quantized // multiplier and the shift amount. The shift amount is the number of bits // that the quantized multiplier should be shifted to the right before being // used.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 17 19:57:04 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 22:21:19 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td
// // (x - mean) * scale / sqrt(variance + epsilon) + offset // // Let multiplier = scale / sqrt(variance + epsilon), // to compute // (x - mean) * scale / sqrt(variance + epsilon) + offset, // is then to compute // (x * multiplier) + (offset - mean * multiplier). // // TODO(b/228916181): There is a known issue with this DDR rule that it doesn't
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:24:59 UTC 2024 - 8.4K bytes - Viewed (0) -
src/encoding/hex/hex_test.go
} } } func TestEncoderDecoder(t *testing.T) { for _, multiplier := range []int{1, 128, 192} { for _, test := range encDecTests { input := bytes.Repeat(test.dec, multiplier) output := strings.Repeat(test.enc, multiplier) var buf bytes.Buffer enc := NewEncoder(&buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:30:23 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTransformNodeIdBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/numerical_utils_test.cc
TEST(NumericalUtils, QuantizeMultiplier) { // Decompose multiplier larger than 1. ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e6)), 1.0e6); ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e3)), 1.0e3); ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(10.)), 10.); ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(5.)), 5.); ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(2.)), 2.); // Decompose multiplier between 1.0 and 1e-6.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 3.9K bytes - Viewed (0) -
src/internal/fuzz/pcg.go
// creation and use, no reproducibility, no concurrency safety, just the // necessary methods, optimized for speed. var globalInc atomic.Uint64 // PCG stream const multiplier uint64 = 6364136223846793005 // pcgRand is a PRNG. It should not be copied or shared. No Rand methods are // concurrency safe. type pcgRand struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:28:14 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/devirtualize/mult.pkg/mult.go
// license that can be found in the LICENSE file. // WARNING: Please avoid updating this file. // See the warning in ../devirt.go for more details. package mult var sink int type Multiplier interface { Multiply(a, b int) int } type Mult struct{} func (Mult) Multiply(a, b int) int { for i := 0; i < 1000; i++ { sink++ } return a * b } type NegMult struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 18:17:57 UTC 2023 - 1.2K bytes - Viewed (0)