Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,404 for multiplier (0.25 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/internal/abi/stack.go

    // license that can be found in the LICENSE file.
    
    package abi
    
    const (
    	// StackNosplitBase is the base maximum number of bytes that a chain of
    	// NOSPLIT functions can use.
    	//
    	// This value must be multiplied by the stack guard multiplier, so do not
    	// use it directly. See runtime/stack.go:stackNosplit and
    	// cmd/internal/objabi/stack.go:StackNosplit.
    	StackNosplitBase = 800
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    func (s *preFilterState) updateWithPod(pInfo *framework.PodInfo, node *v1.Node, multiplier int64) {
    	if s == nil {
    		return
    	}
    
    	s.existingAntiAffinityCounts.updateWithAntiAffinityTerms(pInfo.RequiredAntiAffinityTerms, s.podInfo.Pod, s.namespaceLabels, node, multiplier)
    	s.affinityCounts.updateWithAffinityTerms(s.podInfo.RequiredAffinityTerms, pInfo.Pod, node, multiplier)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top