Searched refs:DeviceTypeOrder (Results 1 – 4 of 4) sorted by relevance
58 int DeviceSet::DeviceTypeOrder(const DeviceType& d) { in DeviceTypeOrder() function in tensorflow::DeviceSet65 auto a_priority = DeviceSet::DeviceTypeOrder(a); in DeviceTypeComparator()66 auto b_priority = DeviceSet::DeviceTypeOrder(b); in DeviceTypeComparator()
71 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()
71 static int DeviceTypeOrder(const DeviceType& d);
78 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()