Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 225 for MULTIPLY (0.13 sec)

  1. src/crypto/internal/edwards25519/field/fe_bench_test.go

    	for i := 0; i < b.N; i++ {
    		x.Add(x, y)
    	}
    }
    
    func BenchmarkMultiply(b *testing.B) {
    	x := new(Element).One()
    	y := new(Element).Add(x, x)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		x.Multiply(x, y)
    	}
    }
    
    func BenchmarkSquare(b *testing.B) {
    	x := new(Element).Add(feOne, feOne)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		x.Square(x)
    	}
    }
    
    func BenchmarkInvert(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 924 bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftLibWithXCTest.groovy

            this("greeter")
        }
    
        SwiftLibWithXCTest(String projectName) {
            super(projectName)
            main = new SwiftLib(projectName)
            test = new SwiftLibTest(main, main.greeter, main.sum, main.multiply)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                            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));
                        }
                    }
                """
                file("transitive/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unfuse_mhlo_batch_norm.mlir

      // CHECK: %[[X_CENTER:.+]] = mhlo.subtract %[[X]], %[[MEAN_BCAST]] : tensor<4x256xf32>
      // CHECK: %[[X_SCALED:.+]] = mhlo.multiply %[[X_CENTER]], %[[SCALE_BCAST]] : tensor<4x256xf32>
      // CHECK: %[[X_NORMED:.+]] = mhlo.divide %[[X_SCALED]], %[[STDDEV_BCAST]] : tensor<4x256xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftSingleFileLibWithSingleXCTestSuite.groovy

            List<XCTestSourceFileElement> getTestSuites() {
                return [
                    new XCTestSourceFileElement("CombinedTests") {
                        final delegate = new SwiftLibTest(main, main.greeter, main.sum, main.multiply)
    
                        @Override
                        List<XCTestCaseElement> getTestCases() {
                            return delegate.sumTest.testCases + delegate.greeterTest.testCases + delegate.multiplyTest.testCases
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/nn_grad.cc

        auto subtraction_result = Subtract(scope, grad_grad, squeeze_result);
        auto multiply_result = Multiply(scope, subtraction_result, logits_softmax);
        grad = Add(scope, grad, multiply_result);
      }
      auto minus_log_softmax = Multiply(scope, LogSoftmax(scope, logits), -1.0f);
      grad_outputs->push_back(grad);
      grad_outputs->push_back(BroadcastMul(scope, grad_loss, minus_log_softmax));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 23:34:33 UTC 2022
    - 24.5K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

            }
            return new Amount<>(units.scaleTo(value, other.units).subtract(other.value), other.units);
        }
    
        public Amount<Q> multiply(BigDecimal other) {
            return new Amount<>(value.multiply(other), units);
        }
    
        public Amount<Q> div(long other) {
            return div(BigDecimal.valueOf(other));
        }
        public Amount<Q> div(BigDecimal other) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %10 = mhlo.add %arg0, %5 : tensor<2xf32>
      %11 = mhlo.clamp %7, %10, %3 : tensor<2xf32>
      %12 = mhlo.clamp %9, %11, %1 : tensor<2xf32>
      %13 = mhlo.multiply %arg0, %12 : tensor<2xf32>
      %14 = mhlo.divide %13, %1 : tensor<2xf32>
      return %14 : tensor<2xf32>
    }
    
    // CHECK-LABEL:   func.func @hardswish(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/fmahash_test.go

    // It also runs ssa/check and gccheck to be sure that those are checked at least a
    // little in each run.bash.  It does not check or run the generated code.
    // The test file is however a useful example of fused-vs-cascaded multiply-add.
    func TestFmaHash(t *testing.T) {
    	switch runtime.GOOS {
    	case "linux", "darwin":
    	default:
    		t.Skipf("Slow test, usually avoid it, os=%s not linux or darwin", runtime.GOOS)
    	}
    	switch runtime.GOARCH {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteCond_test.go

    	}
    
    	if y32+v32_n < 0 {
    		t.Errorf("'%#x + %#x < 0' failed", y32, v32_n)
    	}
    
    	if y32+v32_n <= 0 {
    		t.Errorf("'%#x + %#x <= 0' failed", y32, v32_n)
    	}
    }
    
    // multiply-add
    func testMAddVar64(t *testing.T) {
    	if x64+v64*one64 < 0 {
    	} else {
    		t.Errorf("'%#x + %#x*1 < 0' failed", x64, v64)
    	}
    
    	if x64+v64*one64 <= 0 {
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 01:19:09 UTC 2023
    - 11.1K bytes
    - Viewed (0)
Back to top