Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 718 for divides (0.33 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-collective.mlir

      // CHECK: %[[GROUP_SIZE:.*]] = mhlo.constant dense<1.000000e+00>
      // CHECK: %[[REDUCE:.*]] = "mhlo.all_reduce"
      // CHECK: mhlo.add
      // CHECK: %[[RESULT:.*]] = mhlo.divide %[[REDUCE]], %[[GROUP_SIZE]]
      // CHECK-NEXT: return %[[RESULT]]
      %0 = "tf.XlaAllReduce"(%input, %group_assignment) {reduce_op = "Mean", mode = "CrossReplica"} : (tensor<f32>, tensor<2x1xi32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/runtime_lowering_tpu.mlir

    // RUN: tf-tfrt-opt -tfrt-lower-cluster-to-runtime-ops-tpu -split-input-file -verify-diagnostics %s | FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
    
      // CHECK-LABEL: @converts_cluster
      func.func @converts_cluster() {
        // CHECK: %0:2 = "tf_device.launch"() <{{.*}}> ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/crypto/internal/mlkem768/mlkem768.go

    	// rounding up (see FIPS 203 (DRAFT), Section 2.3).
    
    	dividend := uint32(y) * q
    	quotient := dividend >> d // (y * q) / 2ᵈ
    
    	// The d'th least-significant bit of the dividend (the most significant bit
    	// of the remainder) is 1 for the top half of the values that divide to the
    	// same quotient, which are the ones that round up.
    	quotient += dividend >> (d - 1) & 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  4. pkg/volume/util/device_util_unsupported.go

    	return portalHostMap, nil
    }
    
    // FindDevicesForISCSILun unsupported returns nil
    func (handler *deviceHandler) FindDevicesForISCSILun(targetIqn string, lun int) ([]string, error) {
    	devices := []string{}
    	return devices, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        new RoundToDoubleTester(BigDecimal.ZERO).setExpectation(0.0, values()).test();
      }
    
      public void testRoundToDouble_oneThird() {
        new RoundToDoubleTester(
                BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))
            .roundUnnecessaryShouldThrow()
            .setExpectation(0.33333333333333337, UP, CEILING)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. test/fixedbugs/issue60601.go

    	return 1<<63 - 1 + int64(unsafe.Sizeof(*new(T)))
    }
    
    func main() {
    	shift[[62]byte]()
    	shift[[63]byte]()
    	shift[[64]byte]()
    	shift[[100]byte]()
    	shift[[1e6]byte]()
    
    	add[[1]byte]()
    	shouldPanic("divide by zero", func() { div[[0]byte]() })
    }
    
    func shouldPanic(str string, f func()) {
    	defer func() {
    		err := recover()
    		if err == nil {
    			panic("did not panic")
    		}
    		s := err.(error).Error()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 15 18:41:09 UTC 2023
    - 862 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/argument-sharding.mlir

    // CHECK-SAME:    sharding={
    // CHECK-SAME:    {devices=[1,2]0,1}
    // CHECK-SAME:    {maximal device=0}
    // CHECK-SAME:    {replicated}
    // CHECK-SAME:    }
    // CHECK:         get-tuple-element((f32[128,10]{1,0}, f32[10,1024]{1,0}, f32[128,1024]{1,0}) %[[ARG_TUPLE]]), index=0
    // CHECK-SAME:    sharding={devices=[1,2]0,1}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/defs.h

    // The id of the compiled cluster.
    extern const char* const kXlaClusterIdAttr;  // "_xla_compile_id"
    
    [[deprecated("XLA:CPU/GPU devices are deprecated")]] void
    RequestXlaDevicesCreation();
    
    [[deprecated("XLA:CPU/GPU devices are deprecated")]] bool
    XlaDevicesCreationRequired();
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 07 01:03:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

      auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>();
      // Get runtime devices information from the closest parent module.
      auto module = getOperation();
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices)))
        return signalPassFailure();
    
      OpBuilder builder(&getContext());
      llvm::SmallVector<mlir::tf_device::ClusterOp, 4> clusters;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. src/runtime/internal/sys/consts.go

    const DefaultPhysPageSize = goarch.DefaultPhysPageSize
    
    // PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems).
    // The various PC tables record PC deltas pre-divided by PCQuantum.
    const PCQuantum = goarch.PCQuantum
    
    // Int64Align is the required alignment for a 64-bit integer (4 on 32-bit systems, 8 on 64-bit).
    const Int64Align = goarch.PtrSize
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top