Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 718 for divides (0.21 sec)

  1. android/guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += IntMath.sqrt(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int divide(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += IntMath.divide(ints[j], nonzero[j], mode);
        }
        return tmp;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

          op->erase();
          return WalkResult::advance();
        }
    
        if (!devices.has_value()) return WalkResult::advance();
    
        // Map aliased devices to explicit devices based on replica.
        if (auto launch = dyn_cast<tf_device::LaunchOp>(op))
          if (auto device_by_replica = devices.value().get(launch.getDevice()))
            launch->setAttr(
                kDeviceAttr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Ascii.java

       */
      public static final byte DLE = 16;
    
      /**
       * Device Control 1. Characters for the control of ancillary devices associated with data
       * processing or telecommunication systems, more especially switching devices "on" or "off." (If a
       * single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the
       * preferred assignment.)
       *
       * @since 8.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 19 15:43:07 UTC 2021
    - 21.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir

    // CHECK: "tf.opA"
    // device = "CORE_0"
    // CHECK: _parallel_execution_ids = "r0:1"
    
    
    // Tests devices are not remapped if device is not in replicate devices.
    // CHECK-LABEL: func @no_override_device
    func.func @no_override_device() {
      tf_executor.graph {
        %0 = tf_executor.island {
          tf_device.replicate {n = 2 : i32, devices = {CORE_0 = ["/CPU:0", "/GPU:1"]}} {
            "tf_device.launch"() ({
              "tf.opA"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

    The region held by this operation represents a computation that is replicated
    across multiple devices. The number of replications is based on the `n`
    attribute. Explicit devices can be populated in the `devices` attribute, and it
    must be a mapping of device alias to list of explicit or aliased device names
    from the outer scope. The device name map specifies devices on which replicated
    ops inside tf_device.replicate will be executed.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. pkg/volume/fc/fc_util.go

    			return err
    		}
    	} else {
    		// Add single devicepath to devices
    		devices = append(devices, dstPath)
    	}
    	klog.V(4).Infof("fc: DetachDisk devicePath: %v, dstPath: %v, devices: %v", devicePath, dstPath, devices)
    	var lastErr error
    	for _, device := range devices {
    		err := util.detachFCDisk(c.io, c.exec, device)
    		if err != nil {
    			klog.Errorf("fc: detachFCDisk failed. device: %v err: %v", device, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

              long expected =
                  new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).longValue();
              long actual = LongMath.divide(p, q, mode);
              if (expected != actual) {
                failFormat("expected divide(%s, %s, %s) = %s; got %s", p, q, mode, expected, actual);
              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc

     private:
      void runOnOperation() override;
    
      // Given a func and targeted devices, we will try to clonse the func &
      // transform/optimize for those devices.
      // This will only happen if the whole subgraph can be supported by the target
      // or can be supported after some transformations.
      void GetAlternativeGraphForFunc(ArrayRef<std::string> devices,
                                      func::FuncOp func, ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. pkg/volume/util/device_util_linux.go

    // which are managed by the devicemapper dm-1.
    func (handler *deviceHandler) FindSlaveDevicesOnMultipath(dm string) []string {
    	var devices []string
    	io := handler.getIo
    	// Split path /dev/dm-1 into "", "dev", "dm-1"
    	parts := strings.Split(dm, "/")
    	if len(parts) != 3 || !strings.HasPrefix(parts[1], "dev") {
    		return devices
    	}
    	disk := parts[2]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/replica_id_to_device_ordinal.cc

        return signalPassFailure();
      }
    
      // Get the number of devices per host.
      int device_num = 0;
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(
              getOperation()->getParentOfType<ModuleOp>(), &devices)))
        return signalPassFailure();
      for (const auto& device_name : devices.device_names()) {
        if (device_name.has_type && device_name.type == "TPU") ++device_num;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top