- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 184 for divides (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc
(*module_ref)->setAttr("tf.devices", device_dict); mlir::TF::RuntimeDevices devices; EXPECT_TRUE(mlir::succeeded(GetDevicesFromOp(*module_ref, &devices))); ASSERT_EQ(devices.NumDevices(), 1); ASSERT_EQ(devices.device_names().size(), 1); ASSERT_EQ(DeviceNameUtils::ParsedNameToString(devices.device_names()[0]), "/job:worker/replica:0/task:0/device:CPU:0"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K 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/xla_cpu_device.cc
public: Status ListPhysicalDevices(std::vector<string>* devices) override; Status CreateDevices(const SessionOptions& options, const string& name_prefix, std::vector<std::unique_ptr<Device>>* devices) override; }; Status XlaCpuDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) { XlaDeviceFlags* flags = GetXlaDeviceFlags();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.cc
"Multiple CPU devices ", device_info_cache.DebugString(devices))); } if (multiple_gpu_devices) { FAILED_TO_PICK_DEVICE(errors::Internal( "Multiple GPU devices ", device_info_cache.DebugString(devices))); } if (multiple_unknown_devices) { FAILED_TO_PICK_DEVICE(errors::Internal( "Multiple unknown devices ", device_info_cache.DebugString(devices))); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K 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) -
pkg/kubelet/cm/devicemanager/checkpoint/checkpoint.go
func New(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint { return newV2(devEntries, devices) } func newV2(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint { return &Data{ Data: checkpointData{ PodDeviceEntries: devEntries, RegisteredDevices: devices, }, } } // MarshalCheckpoint returns marshalled data
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/types.go
Mounts []kubecontainer.Mount // The host devices mapped into the container. Devices []kubecontainer.DeviceInfo // The Annotations for the container Annotations []kubecontainer.Annotation // CDI Devices for the container CDIDevices []kubecontainer.CDIDevice } // TODO: evaluate whether we need this error definition. const ( errEndpointStopped = "endpoint %v has been stopped" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_gpu_device.cc
public: Status ListPhysicalDevices(std::vector<string>* devices) override; Status CreateDevices(const SessionOptions& options, const string& name_prefix, std::vector<std::unique_ptr<Device>>* devices) override; }; Status XlaGpuDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) { XlaDeviceFlags* flags = GetXlaDeviceFlags();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 6.6K bytes - Viewed (0) -
src/internal/syscall/windows/reparse_windows.go
// The integer that contains the offset, in bytes, // of the substitute name string in the PathBuffer array, // computed as an offset from byte 0 of PathBuffer. Note that // this offset must be divided by 2 to get the array index. SubstituteNameOffset uint16 // The integer that contains the length, in bytes, of the // substitute name string. If this string is null-terminated,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 07:15:06 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/types.go
podresourcesapi "k8s.io/kubelet/pkg/apis/podresources/v1" ) // DevicesProvider knows how to provide the devices used by the given container type DevicesProvider interface { // UpdateAllocatedDevices frees any Devices that are bound to terminated pods. UpdateAllocatedDevices() // GetDevices returns information about the devices assigned to pods and containers GetDevices(podUID, containerName string) []*podresourcesapi.ContainerDevices
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 17:33:04 UTC 2023 - 2.6K bytes - Viewed (0)