- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GetNameFor (0.13 sec)
-
tensorflow/compiler/jit/device_util.cc
device_info_cache.GetNameFor(*maybe_unknown_device), ", ", device_info_cache.GetNameFor(*maybe_gpu_device))); } if (!allow_mixing_unknown_and_cpu) { if (maybe_unknown_device && maybe_cpu_device) { FAILED_TO_PICK_DEVICE(errors::Internal( "Found both unknown and CPU devices: ", device_info_cache.GetNameFor(*maybe_unknown_device), ", ",
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_test.cc
device_set.Insert(device_id); } TF_ASSIGN_OR_RETURN( jit::DeviceId result_id, PickDeviceForXla(cache, device_set, allow_mixing_unknown_and_cpu)); *result = string(cache.GetNameFor(result_id)); return absl::OkStatus(); } void CheckPickDeviceResult(absl::string_view expected_result, bool allow_mixing_unknown_and_cpu,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
class DeviceInfoCache { public: bool IsGpu(DeviceId device) const { return is_gpu_[device.id()]; } bool IsCpu(DeviceId device) const { return is_cpu_[device.id()]; } absl::string_view GetNameFor(DeviceId device) const { return names_[device.id()]; } absl::StatusOr<DeviceId> GetIdFor(absl::string_view name); using DeviceRegistration = const XlaOpRegistry::DeviceRegistration;
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/build_xla_ops_pass.cc
VLOG(2) << "For " << function_name << " PickDeviceForXla(" << device_info_cache->DebugString(device_set) << ") -> " << device_info_cache->GetNameFor(result); return result; } std::vector<Output> GetXlaRunArgs(const Scope& s, const XlaClusterInfo& cluster_info,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
const XlaOpRegistry::DeviceRegistration* registration = device_info_cache_.GetCompilationDevice(chosen_device); TF_RET_CHECK(registration) << "chosen device = " << device_info_cache_.GetNameFor(chosen_device) << "; device type = " << device_type.type() << "; devices (" << device_info_cache_.DebugString(cluster.devices()); auto policy = registration->autoclustering_policy;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0)