- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 225 for MULTIPLY (0.16 sec)
-
src/runtime/mksizeclasses.go
// pages into objects of the given size wastes at most 12.5% (1.125x) // of the memory. It is not necessary that the cutoff here be // the same as above. // // The two sources of waste multiply, so the worst possible case // for the above constraints would be that allocations of some // size might have a 26.6% (1.266x) overhead. // In practice, only one of the wastes comes into play for a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/math_ops.cc
using tensorflow::tracing::MaybeSetOpName; namespace tensorflow { namespace ops { // Op: Mul() // Summary: Returns x * y element-wise. // // Description: // *NOTE*: `Multiply` supports broadcasting. More about broadcasting // [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) Status Mul(AbstractContext* ctx, AbstractTensorHandle* const x,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 10 19:11:36 UTC 2022 - 12.2K bytes - Viewed (0) -
src/math/big/natdiv.go
We can ensure that v has a large top digit by multiplying both u and v by the right amount. Continuing the example, if we multiply both 172 and 19 by 3, we now have ⌊516/57⌋, the leading digit of v is now ≥ 5, and sure enough ⌊51/5⌋ = 10 is much closer to the correct answer 9. It would be easier here to multiply by 4, because that can be done with a shift. Specifically, we can
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 34.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
try { BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY); BigInteger undone = quotient.multiply(q); if (!p.equals(undone)) { failFormat("expected %s.multiply(%s) = %s; got %s", quotient, q, p, undone); } assertTrue(dividesEvenly); } catch (ArithmeticException e) { assertFalse(dividesEvenly);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:58:33 UTC 2024 - 27.8K bytes - Viewed (0) -
src/strconv/itoa.go
// We use uint values where we can because those will // fit into a single register even on a 32bit machine. if base == 10 { // common case: use constants for / because // the compiler can optimize it into a multiply+shift if host32bit { // convert the lower digits using 32bit operations for u >= 1e9 { // Avoid using r = a%b in addition to q = a/b // since 64bit division and modulo operations
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
template <std::size_t num_replicas> TensorHandlePtr CreatePerDeviceValues( TFE_Context* context, const std::array<TFE_TensorHandle*, num_replicas>& components, const char* device, TF_Status* status); TensorHandlePtr Multiply(TFE_Context* context, TFE_TensorHandle* first, TFE_TensorHandle* second, TF_Status* status); // Assert that `handle` is equal to `expected_value`. template <typename value_type>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 09 01:12:35 UTC 2021 - 6.9K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy
} @ToBeFixedForConfigurationCache def "can specify a test dependency on another library"() { def lib = new SwiftLib() def test = new SwiftLibTest(lib, lib.greeter, lib.sum, lib.multiply) given: createDirs("greeter") settingsFile << """ rootProject.name = 'app' include 'greeter' """ buildFile << """ project(':greeter') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 20.8K bytes - Viewed (0) -
src/crypto/aes/aes_test.go
p := 1 for i := 0; i < len(powx); i++ { if powx[i] != byte(p) { t.Errorf("powx[%d] = %#x, want %#x", i, powx[i], p) } p <<= 1 if p&0x100 != 0 { p ^= poly } } } // Multiply b and c as GF(2) polynomials modulo poly func mul(b, c uint32) uint32 { i := b j := c s := uint32(0) for k := uint32(1); k < 0x100 && j != 0; k <<= 1 { // Invariant: k == 1<<n, i == b * xⁿ if j&k != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 14:58:19 UTC 2024 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
// It's definitely safe to multiply into numerator and denominator. numerator *= n; denominator *= i; numeratorBits += nBits; } else { // It might not be safe to multiply into numerator and denominator, // so multiply (numerator / denominator) into result.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 44.6K bytes - Viewed (0) -
src/math/fma.go
exp = 1 - int32(shift) } else { // Add implicit 1 bit mantissa |= 1 << 52 } return } // FMA returns x * y + z, computed with only one rounding. // (That is, FMA returns the fused multiply-add of x, y, and z.) func FMA(x, y, z float64) float64 { bx, by, bz := Float64bits(x), Float64bits(y), Float64bits(z) // Inf or NaN or zero involved. At most one rounding will occur.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 05 22:05:30 UTC 2023 - 4.6K bytes - Viewed (0)