- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 57 for MULTIPLY (0.17 sec)
-
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// CHECK-NEXT: %[[mul2:.*]] = mhlo.multiply %arg2, %[[scr1]] : tensor<8xf32> // CHECK: %[[bcast_mul2:.+]] = "mhlo.dynamic_broadcast_in_dim"(%[[mul2]], {{.*}}) <{broadcast_dimensions = dense<3> : tensor<1xi64>}> : (tensor<8xf32>, tensor<4xindex>) -> tensor<8x8x8x8xf32> // CHECK-NEXT: %[[mul3:.*]] = mhlo.multiply %[[grad]], %[[bcast_mul2]] : tensor<8x8x8x8xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
// %13 = stablehlo.subtract %7, %12 // q1 * q2 - q2 * z1 // %14 = stablehlo.constant // Merged scale s1 * s2, precalculated. // %15 = stablehlo.broadcast_in_dim %14 // %16 = stablehlo.multiply %13 %15 // r3 = s1 s2 (q1 q2 - q2 z1) // // The following quant -> dequant pattern is a no-op, but is required to // retrieve the quantization parameters for the output tensor. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
(Div64 n (Const64 [-1<<63])) && isNonNegative(n) => (Const64 [0]) // Unsigned divide, not a power of 2. Strength reduce to a multiply. // For 8-bit divides, we just do a direct 9-bit by 8-bit multiply. (Div8u x (Const8 [c])) && umagicOK8(c) => (Trunc32to8 (Rsh32Ux64 <typ.UInt32> (Mul32 <typ.UInt32> (Const32 <typ.UInt32> [int32(1<<8+umagic8(c).m)])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
src/math/rand/v2/rand.go
// and want to reduce it to the range [0,n) preserving exact uniformity. // We can simulate a scaling arbitrary precision x * (n/2⁶⁴) by // the high bits of a double-width multiply of x*n, meaning (x*n)/2⁶⁴. // Since there are 2⁶⁴ possible inputs x and only n possible outputs, // the output is necessarily biased if n does not divide 2⁶⁴. // In general (x*n)/2⁶⁴ = k for x*n in [k*2⁶⁴,(k+1)*2⁶⁴).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:25:49 UTC 2024 - 12.8K bytes - Viewed (0) -
src/crypto/internal/bigmod/nat.go
out.montgomeryMul(out, out, m) // Select x^k in constant time from the table. k := uint((b >> j) & 0b1111) for i := range table { tmp.assign(ctEq(k, uint(i+1)), table[i]) } // Multiply by x^k, discarding the result if k = 0. tmp.montgomeryMul(out, tmp, m) out.assign(not(ctEq(k, 0)), tmp) } } return out.montgomeryReduction(m) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 24K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir
%0 = "mhlo.broadcast_in_dim"(%arg0) <{broadcast_dimensions = dense<[0, 1]> : tensor<2xi64>}> : (tensor<1x1xf32>) -> tensor<1x1000xf32> %1 = mhlo.multiply %0, %arg1 : tensor<1x1000xf32> %2 = mhlo.multiply %arg1, %0 : tensor<1x1000xf32> func.return %1, %2 : tensor<1x1000xf32>, tensor<1x1000xf32> } // CHECK-LABEL: func @broadcast_mul_chlo(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 340.2K bytes - Viewed (0)