Searched refs:DeviceTypeOrder (Results 1 – 3 of 3) sorted by relevance
61 int DeviceSet::DeviceTypeOrder(const DeviceType& d) { in DeviceTypeOrder() function in tensorflow::DeviceSet68 auto a_priority = DeviceSet::DeviceTypeOrder(a); in DeviceTypeComparator()69 auto b_priority = DeviceSet::DeviceTypeOrder(b); in DeviceTypeComparator()142 d, DeviceSet::DeviceTypeOrder(DeviceType(d->device_type()))); in UpdatePrioritizedVectors()
78 EXPECT_EQ(50, DeviceSet::DeviceTypeOrder(DeviceType("d1"))); in TEST_F()79 EXPECT_EQ(51, DeviceSet::DeviceTypeOrder(DeviceType("d2"))); in TEST_F()80 EXPECT_EQ(49, DeviceSet::DeviceTypeOrder(DeviceType("d3"))); in TEST_F()
86 static int DeviceTypeOrder(const DeviceType& d);