Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,261 for multiplier (0.48 sec)

  1. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.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));
                        }
                    }
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        // have a corresponding 'depth_multiplier' attribute; the multiplier is the
        // fourth dimension in the 4-D filter tensor. We query the multiplier from
        // tf.DepthwiseConv2dNative and set it as the attribute value accordingly.
        auto multiplier =
            mlir::cast<RankedTensorType>(filter.getType()).getDimSize(3);
    
        filter = legalizeFilter(rewriter, loc, filter);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/internal/objabi/stack.go

    	// This arithmetic must match that in runtime/stack.go:stackNosplit.
    	return abi.StackNosplitBase * stackGuardMultiplier(race)
    }
    
    // stackGuardMultiplier returns a multiplier to apply to the default
    // stack guard size. Larger multipliers are used for non-optimized
    // builds that have larger stack frames or for specific targets.
    func stackGuardMultiplier(race bool) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/interpodaffinity/scoring.go

    	if term.Matches(pod, nsLabels) {
    		if tpValue, tpValueExist := node.Labels[term.TopologyKey]; tpValueExist {
    			if m[term.TopologyKey] == nil {
    				m[term.TopologyKey] = make(map[string]int64)
    			}
    			m[term.TopologyKey][tpValue] += int64(weight * multiplier)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top