Home
last modified time | relevance | path

Searched refs:available_devices (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Dmulti_gpu_utils.py168 available_devices = _get_available_devices()
169 available_devices = [
170 _normalize_device_name(name) for name in available_devices
173 if device not in available_devices:
178 available_devices))
Dmulti_gpu_utils_test.py34 available_devices = [
38 if '/gpu:%d' % (gpus - 1) not in available_devices:
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_util.cc1098 const absl::flat_hash_set<int64>& available_devices, in DevicesForShardingInternal() argument
1102 DevicesForShardingInternal(subsharding, available_devices, used); in DevicesForShardingInternal()
1108 for (int64 device : available_devices) { in DevicesForShardingInternal()
1118 [&](int64 device) { return available_devices.contains(device); })); in DevicesForShardingInternal()
1126 const HloSharding& sharding, const std::vector<int64>& available_devices) { in DevicesForSharding() argument
1128 for (int64 device : available_devices) { in DevicesForSharding()
1134 for (int64 device : available_devices) { in DevicesForSharding()
Dhlo_sharding_util.h185 const HloSharding& sharding, const std::vector<int64>& available_devices);
/external/tensorflow/tensorflow/core/kernels/
Dmatmul_op_test.cc73 std::vector<DeviceAttributes> available_devices; in RunAndFetch() local
74 TF_ASSERT_OK(session->ListDevices(&available_devices)) in RunAndFetch()
79 absl::c_any_of(available_devices, [](const DeviceAttributes& device) { in RunAndFetch()
Dfused_batch_norm_ex_op_test.cc112 std::vector<DeviceAttributes> available_devices; local
113 TF_ASSERT_OK(session->ListDevices(&available_devices))
118 absl::c_any_of(available_devices, [](const DeviceAttributes& device) { in __anon22d4da570102()
Dconv_ops_test.cc584 std::vector<DeviceAttributes> available_devices; in RunAndFetch() local
585 TF_ASSERT_OK(session->ListDevices(&available_devices)) in RunAndFetch()
590 absl::c_any_of(available_devices, [](const DeviceAttributes& device) { in RunAndFetch()
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_quick_tests.py158 self.available_devices = self.list_devices_available()
264 if self.available_devices.get(device_type, 0) < number: