Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for MULTIPLY (0.12 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/tests/shlo_simplify.mlir

      %2 = stablehlo.divide %arg0, %0 : tensor<2xf32>
      return %2 : tensor<2xf32>
    }
    
    // CHECK-LABEL: divideToMulReciprocalSplat
    // CHECK: stablehlo.constant dense<5.000000e-01> : tensor<2xf32>
    // CHECK: stablehlo.multiply
    
    // -----
    
    func.func @divideToMulReciprocal(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      %0 = stablehlo.constant dense<[2.0, 3.0]> : tensor<2xf32>
      %2 = stablehlo.divide %arg0, %0 : tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 03:05:20 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

    def TFL_ArithmeticCount : OpInterface<"TflArithmeticCountOpInterface"> {
      let description = [{
        Interface for TFLite ops to calculate arithmetic count (Multiply-Add Count).
      }];
    
      let methods = [
        StaticInterfaceMethod<
          [{Returns an integer representing the op's arithmetic count (Multiply-Add
          Count), return -1 if the arithmetic count cannot be determined.}],
           "int64_t", "GetArithmeticCount", (ins "Operation*":$op)
        >,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/math/rand/v2/pcg.go

    	// 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.
    	// (On 32-bit systems, it saves 1 out of 6, since Mul64 is doing 4.)
    	const (
    		mulHi = 2549297995355413924
    		mulLo = 4865540595714422341
    		incHi = 6364136223846793005
    		incLo = 1442695040888963407
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. cmd/kubeadm/app/preflight/checks_linux.go

    	err := syscall.Sysinfo(&info)
    	if err != nil {
    		errorList = append(errorList, errors.Wrapf(err, "failed to get system info"))
    	}
    
    	// Totalram holds the total usable memory. Unit holds the size of a memory unit in bytes. Multiply them and convert to MB
    	actual := uint64(info.Totalram) * uint64(info.Unit) / 1024 / 1024
    	if actual < mc.Mem {
    		errorList = append(errorList, errors.Errorf("the system RAM (%d MB) is less than the minimum %d MB", actual, mc.Mem))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker.go

    		runtime.HandleError(fmt.Errorf("feature %q is not implemented in DefaultFeatureSupportChecker", feature))
    	}
    }
    
    func (f *defaultFeatureSupportChecker) checkClient(ctx context.Context, c client) {
    	// start with 10 ms, multiply by 2 each step, until 15 s and stays on 15 seconds.
    	delayFunc := wait.Backoff{
    		Duration: 10 * time.Millisecond,
    		Cap:      15 * time.Second,
    		Factor:   2.0,
    		Steps:    11}.DelayFunc()
    	f.lock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

                matmul_op.getAdjY() ? shape_y.back() : *(shape_y.rbegin() + 1);
            const int y_col =
                !matmul_op.getAdjY() ? shape_y.back() : *(shape_y.rbegin() + 1);
    
            // Checks that matrix multiply can perform a valid contraction.
            if (x_col != y_row) {
              result_shape.clear();
              return false;
            }
    
            result_shape.push_back(x_row);
            result_shape.push_back(y_col);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

      // will overcount the divisors.
      //    Following from (LEMMA 1) the only windows which contain overcounted
      // divisors are the ones on the outside right and bottom edge. We can iterate
      // over these windows and multiply the corresponding out element by
      // `kernel_size / X` where `X` is the number of elements in the padded input
      // tensor not in the newly padded zone. This corrects the overcounting of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top