Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,792 for multiplier (0.17 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.h

      tensorflow::OpOrArgNameMapper* op_or_arg_name_mapper = nullptr;
      // User-specified value of flatbuffer alignment requirement for custom
      // options. If specified, the value should be multiplier of 16 (default
      // alignment for TFL flatbuffer).
      std::optional<size_t> custom_option_alignment = std::nullopt;
    };
    
    // Translates the given MLIR `module` into a FlatBuffer and stores the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 09 02:51:43 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/math/rand/v2/pcg.go

    	// https://github.com/imneme/pcg-cpp/blob/428802d1a5/include/pcg_random.hpp#L161
    	//
    	// Numpy's PCG multiplies by the 64-bit value cheapMul
    	// instead of the 128-bit value used here and in the official PCG code.
    	// This does not seem worthwhile, at least for Go: not having any high
    	// bits in the multiplier reduces the effect of low bits on the highest bits,
    	// and it only saves 1 multiply out of 3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

                            jar {
                                attributes.attribute(color, 'blue')
                            }
                        }
                    }
                }
    
                abstract class Multiplier implements TransformAction<TransformParameters.None> {
                    @InputArtifact
                    abstract Provider<FileSystemLocation> getInputArtifact()
    
                    void transform(TransformOutputs outputs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top