Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,638 for multiplier (0.18 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/lite/quantization/numerical_utils.h

    #include "absl/types/optional.h"
    
    namespace mlir {
    namespace quant {
    
    using QuantizedMultiplier = std::pair<int32_t, int32_t>;
    using QuantizedRange = std::pair<int32_t, int32_t>;
    
    // Decompose double precision multiplier to integer multiplier and exponent.
    //    double_multiplier = int_multiplier * 2 ^ (-31 + exponent)
    // int_multiplier will be range of (2^31, 2^30].
    QuantizedMultiplier QuantizeMultiplier(double double_multiplier);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list_test.go

    	qs := &queueSet{estimatedServiceDuration: time.Second}
    	list := newRequestFIFO()
    
    	update := func(we *queueSum, req *request, multiplier int) {
    		we.InitialSeatsSum += multiplier * req.InitialSeats()
    		we.MaxSeatsSum += multiplier * req.MaxSeats()
    		we.TotalWorkSum += fcrequest.SeatSeconds(multiplier) * req.totalWork()
    	}
    
    	assert := func(t *testing.T, want, got *queueSum) {
    		if !reflect.DeepEqual(want, got) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:48:40 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top