Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for MULTIPLY (0.22 sec)

  1. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/AmountTest.groovy

            4      | Fruit.apples  | 1.2    | Fruit.oranges    | 1.111111
            125    | Fruit.oranges | 23.4   | Fruit.grapefruit | 3.205128
        }
    
        def "can multiply amount by a unitless value"() {
            expect:
            Amount.valueOf(a, Fruit.apples) * b == Amount.valueOf(c, Fruit.apples)
    
            where:
            a     | b   | c
            0     | 200 | 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/components/tf_to_stablehlo.mlir

    // CHECK-DAG: %[[CONST_1:.*]] = stablehlo.constant dense<{{.*}}> : tensor<8xf32>
    // CHECK: %[[BROADCAST_0:.*]] = stablehlo.broadcast_in_dim %[[CONST_0]], dims = [3] : (tensor<8xf32>) -> tensor<1x1x2x8xf32>
    // CHECK: %[[MUL:.*]] = stablehlo.multiply %[[ARG]], %[[BROADCAST_0]] : tensor<1x1x2x8xf32>
    // CHECK: %[[BROADCAST_1:.*]] = stablehlo.broadcast_in_dim %[[CONST_1]], dims = [3] : (tensor<8xf32>) -> tensor<1x1x2x8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/IntMathTest.java

      @AndroidIncompatible // presumably slow
      public void testCheckedMultiply() {
        for (int a : ALL_INTEGER_CANDIDATES) {
          for (int b : ALL_INTEGER_CANDIDATES) {
            BigInteger expectedResult = valueOf(a).multiply(valueOf(b));
            boolean expectedSuccess = fitsInInt(expectedResult);
            try {
              assertEquals(a * b, IntMath.checkedMultiply(a, b));
              assertTrue(expectedSuccess);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            functionScoreQueryBuilder.scoreMode(FunctionScoreQuery.ScoreMode.MULTIPLY);
    
            return functionScoreQueryBuilder;
        }
    
        protected SuggestResponse createResponse(final SearchResponse searchResponse) {
            final SearchHit[] hits = searchResponse.getHits().getHits();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Mul32uover", argLength: 2, typ: "(UInt32,Bool)", commutative: true}, // Let x = arg0*arg1 (full 32x32-> 64 unsigned multiply), returns (uint32(x), (uint32(x) != x))
    	{name: "Mul64uover", argLength: 2, typ: "(UInt64,Bool)", commutative: true}, // Let x = arg0*arg1 (full 64x64->128 unsigned multiply), returns (uint64(x), (uint64(x) != x))
    
    	// Weird special instructions for use in the strength reduction of divides.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

                        [](auto v) { return FloatAttr::getValueAsDouble(v); });
      ArrayRef<double> multiplier_array(multiplier_values.data(),
                                        multiplier_values.size());
    
      // Multiply the quantization parameters by the multiplier.
      QuantizedType new_qtype;
      auto element_type = mlir::cast<TensorType>(q_op.getType()).getElementType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    					break
    				}
    			}
    		}
    		// priority is calculated using the already assigned priority using failoverPriority.
    		// Since there are at most 5 priorities can be assigned using locality failover(0-4),
    		// we multiply the priority by 5 for maintaining the priorities already assigned.
    		// Afterwards the final priorities can be calculted from 0 (highest) to N (lowest) without skipping.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      SmallVector<Value> folded_results = ConstantFoldOpIfPossible(offset_op);
      return folded_results.front();
    }
    
    // Calculates zero-point offset by reducing the weight and multiply it with zp.
    // Originally, we have:
    //   output = (int8_input - input_zp) * (int8_weight - weight_zp)
    // So, offset = input_zp * int8_weight + weight_zp * int8_input
    // - input_zp * weight_zp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Request.kt

         */
        open fun header(
          name: String,
          value: String,
        ) = commonHeader(name, value)
    
        /**
         * Adds a header with [name] and [value]. Prefer this method for multiply-valued
         * headers like "Cookie".
         *
         * Note that for some headers including `Content-Length` and `Content-Encoding`,
         * OkHttp may replace [value] with a header derived from the request body.
         */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. src/image/draw/draw.go

    			// dr, dg, db and da are all 8-bit color at the moment, ranging in [0,255].
    			// We work in 16-bit color, and so would normally do:
    			// dr |= dr << 8
    			// and similarly for dg, db and da, but instead we multiply a
    			// (which is a 16-bit color, ranging in [0,65535]) by 0x101.
    			// This yields the same result, but is fewer arithmetic operations.
    			a := (m - (sa * ma / m)) * 0x101
    
    			d[0] = uint8((dr*a + sy*ma) / m >> 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top