Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,438 for multiplier (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

                                                             multiplier.getType());
        if (!result_type) {
          return rewriter.notifyMatchFailure(mul_op, [&](::mlir::Diagnostic &diag) {
            diag << "entities 'filter, multiplier' failed to satisfy constraint: "
                    "non-broadcastable operands";
          });
        }
        filter_value = filter.getValue();
        mul_value = multiplier.getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTransformNodeIdBuildOperationIntegrationTest.groovy

                            parameters.multiplier.set(2)
                        }
                        registerTransform(MakeColor) {
                            from.attribute(color, 'red')
                            to.attribute(color, 'green')
                            parameters.targetColor.set('green')
                            parameters.multiplier.set(1)
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/optimize.td

                         (Arith_ConstantOp:$multiplier F32ElementsAttr:$mul_value)),
    // TODO(karimnosseir): Add check for $conv is of rank 4.
          (TF_Conv2DOp $input,
              (TF_MulOp (Arith_ConstantOp $filter_value, (location $filter)),
                        (Arith_ConstantOp $mul_value, (location $multiplier)),
                        (location $mul)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 22 07:31:23 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top