- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for divides (0.13 sec)
-
src/net/ipsock.go
func (addrs addrList) first(strategy func(Addr) bool) Addr { for _, addr := range addrs { if strategy(addr) { return addr } } return addrs[0] } // partition divides an address list into two categories, using a // strategy function to assign a boolean label to each address. // The first address, and any with a matching label, are returned as
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
src/runtime/tracetime.go
// Trace time and clock. package runtime import ( "internal/goarch" _ "unsafe" ) // Timestamps in trace are produced through either nanotime or cputicks // and divided by traceTimeDiv. nanotime is used everywhere except on // platforms where osHasLowResClock is true, because the system clock // isn't granular enough to get useful information out of a trace in // many cases. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 3.3K bytes - Viewed (0) -
src/testing/benchmark_test.go
slices.SortFunc(s, func(a, b int) int { compares++ return cmp.Compare(a, b) }) } // This metric is per-operation, so divide by b.N and // report it as a "/op" unit. b.ReportMetric(float64(compares)/float64(b.N), "compares/op") // This metric is per-time, so divide by b.Elapsed and // report it as a "/ns" unit. b.ReportMetric(float64(compares)/float64(b.Elapsed().Nanoseconds()), "compares/ns") }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
// same type. // - GPU is preferred over CPU. // - If `allow_mixing_unknown_and_cpu` is true then unknown devices are // preferred over CPU. // - XLA devices count as "unrecognized devices". // // This set of rules above implicitly assume that XLA:GPU can compile all // operations in the cluster that XLA:CPU can compile, and if
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 17:18:31 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc
auto device_factory = DeviceFactory::GetFactory(device_type); SessionOptions options; std::vector<std::unique_ptr<Device>> devices; Status s = device_factory->CreateDevices( options, "/job:worker/replica:0/task:0", &devices); device_ = std::move(devices[0]); AllocatorAttributes host_alloc_attr; host_alloc_attr.set_on_host(true); host_allocator_ = device_->GetAllocator(host_alloc_attr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir
// RUN: tf-opt %s -split-input-file -tf-xla-broadcast | FileCheck %s
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler.go
rc.mountOrAttachVolumes() // Unmount volumes only when DSW and ASW are fully populated to prevent unmounting a volume // that is still needed, but it did not reach DSW yet. if readyToUnmount { // Ensure devices that should be detached/unmounted are detached/unmounted. rc.unmountDetachDevices() // Clean up any orphan volumes that failed reconstruction. rc.cleanOrphanVolumes() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java
*/ public interface InstrumentingClassLoader { /** * This hook is called when the class is being defined in this classloader. * If the implementation decides to replace the bytecode, it returns a non-null byte array from this method. * Prefer returning {@code null} instead of the {@code classfileBuffer} to continue loading the original bytecode. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h
int_attr.getSplatValue<APInt>() == raw_value) return true; } return false; } // Returns true if `op` is placed on GPU device, and false if it's on other // devices or the device is not specified. bool IsOnGpuDevice(mlir::Operation *op); // Wrappers for CopyDeviceAndUnderscoredAttributes void CopyDeviceAndUnderscoredAttributesAdaptor(mlir::OpResult src,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td
class CreateStringAttr<string values> : NativeCodeCall< "$_builder.getStringAttr("# values #")">; // Get dense attr for a matrix that corrects the over counting of dividends when casting an average pool with ceil mode on in terms of average pool with it off. def GetCorrectionMatrix: NativeCodeCall<"GetCorrectionMatrix($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>())">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 7.8K bytes - Viewed (0)