Home
last modified time | relevance | path

Searched refs:SplitDeviceName (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc365 TEST(DeviceNameUtilsTest, SplitDeviceName) { in TEST() argument
368 EXPECT_TRUE(DeviceNameUtils::SplitDeviceName( in TEST()
372 EXPECT_TRUE(DeviceNameUtils::SplitDeviceName( in TEST()
377 DeviceNameUtils::SplitDeviceName("/device:GPU:3", &task, &device)); in TEST()
380 EXPECT_FALSE(DeviceNameUtils::SplitDeviceName("gpu:3", &task, &device)); in TEST()
381 EXPECT_FALSE(DeviceNameUtils::SplitDeviceName("/job:foo/task:2/replica:1", in TEST()
383 EXPECT_TRUE(DeviceNameUtils::SplitDeviceName("/device:myspecialdevice:3", in TEST()
Ddevice_name_utils.h180 static bool SplitDeviceName(StringPiece name, string* task, string* device);
Ddevice_name_utils.cc515 bool DeviceNameUtils::SplitDeviceName(StringPiece name, string* task, in SplitDeviceName() function in tensorflow::DeviceNameUtils
/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker_cache_partial.cc61 if (!DeviceNameUtils::SplitDeviceName(device_name, &task, &device)) { in RefreshDeviceStatus()
Ddevice_resolver_distributed_test.cc103 if (!DeviceNameUtils::SplitDeviceName(device, &task_name, &dev_part)) { in GetDeviceLocalityAsync()
Dcollective_param_resolver_distributed_test.cc98 if (!DeviceNameUtils::SplitDeviceName(device, &task_name, &dev_part)) { in GetDeviceLocalityAsync()
Dcollective_rma_distributed_test.cc143 if (!DeviceNameUtils::SplitDeviceName(device, &task_name, &dev_part)) { in GetDeviceLocalityAsync()
Dmaster_session.cc378 CHECK(DeviceNameUtils::SplitDeviceName(node->assigned_device_name(), &task, in SplitByWorker()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer.cc627 DeviceNameUtils::SplitDeviceName(node->device(), &node_device, &rest); in GroupCrossDeviceControlEdges()
644 DeviceNameUtils::SplitDeviceName(input->device(), &input_device, in GroupCrossDeviceControlEdges()
691 DeviceNameUtils::SplitDeviceName(input->device(), &input_device, in GroupCrossDeviceControlEdges()
Dgeneric_layout_optimizer.cc87 if (!DeviceNameUtils::SplitDeviceName(device_name, &task, &device_type) || in NumConv2DOnDeviceWithDataTypeOverThreshold()
Dmemory_optimizer.cc743 if (!DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) || in BuildSwapPair()
1266 DeviceNameUtils::SplitDeviceName(node1.device(), &task1, &device1); in CrossesTaskOrCpuGpuBoundary()
1269 DeviceNameUtils::SplitDeviceName(node2.device(), &task2, &device2); in CrossesTaskOrCpuGpuBoundary()
Darithmetic_optimizer.cc195 return DeviceNameUtils::SplitDeviceName(node.device(), &task, &device) && in NodeIsOnCpu()
2098 return DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) && in NodeIsOnCpuOrGpu()
Dauto_mixed_precision.cc1096 if (DeviceNameUtils::SplitDeviceName(device_name, &not_used, &device) && in IsOnGPU()
Dlayout_optimizer.cc591 if (DeviceNameUtils::SplitDeviceName(device_name, &not_used, &device) && in IsOnGPU()
Dgeneric_layout_optimizer_transposer.cc209 DeviceNameUtils::SplitDeviceName(device_name, &task, &device) && in ShouldProcess()
Dconstant_folding.cc3584 tensorflow::DeviceNameUtils::SplitDeviceName(input_node->device(), in MergeConcat()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_server_lib.cc199 if (!DeviceNameUtils::SplitDeviceName(master_env_.local_devices[0]->name(), in Init()
424 if (!DeviceNameUtils::SplitDeviceName(master_env_.local_devices[0]->name(), in UpdateServerDef()
Drpc_rendezvous_mgr.cc221 if (!DeviceNameUtils::SplitDeviceName(parsed.src_device, &call->src_worker_, in RecvFromRemoteAsync()
/external/tensorflow/tensorflow/core/grappler/
Dutils.cc228 return DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) && in NodeIsOnCpu()
234 return DeviceNameUtils::SplitDeviceName(node->device(), &task, &device) && in NodeIsOnGpu()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc716 if (!DeviceNameUtils::SplitDeviceName(d->name(), task_name, &ignored)) { in GetTaskName()