Home
last modified time | relevance | path

Searched refs:DeviceTypeOrder (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_set.cc58 int DeviceSet::DeviceTypeOrder(const DeviceType& d) { in DeviceTypeOrder() function in tensorflow::DeviceSet
65 auto a_priority = DeviceSet::DeviceTypeOrder(a); in DeviceTypeComparator()
66 auto b_priority = DeviceSet::DeviceTypeOrder(b); in DeviceTypeComparator()
Ddevice_set_test.cc71 EXPECT_EQ(50, DeviceSet::DeviceTypeOrder(DeviceType("d1"))); in TEST_F()
72 EXPECT_EQ(51, DeviceSet::DeviceTypeOrder(DeviceType("d2"))); in TEST_F()
73 EXPECT_EQ(49, DeviceSet::DeviceTypeOrder(DeviceType("d3"))); in TEST_F()
Ddevice_set.h71 static int DeviceTypeOrder(const DeviceType& d);
Dcolocation_graph.cc78 DeviceSet::DeviceTypeOrder(DeviceType(a.first->device_type())); in FilterSupportedDevices()
80 DeviceSet::DeviceTypeOrder(DeviceType(b.first->device_type())); in FilterSupportedDevices()
357 auto a_priority = DeviceSet::DeviceTypeOrder(a.first); in MergeSupportedDevices()
358 auto b_priority = DeviceSet::DeviceTypeOrder(b.first); in MergeSupportedDevices()