Using absl::StrJoin with lambda does not work in tf-lite builds.
| 55 | |
| 56 | // Using absl::StrJoin with lambda does not work in tf-lite builds. |
| 57 | std::vector<string> DevicesToString(const std::vector<Device*> devices) { |
| 58 | std::vector<string> v; |
| 59 | v.reserve(devices.size()); |
| 60 | for (Device* d : devices) { |
| 61 | v.push_back(d->name()); |
| 62 | } |
| 63 | return v; |
| 64 | } |
| 65 | |
| 66 | // Using absl::StrJoin with lambda does not work in tf-lite builds. |
| 67 | std::vector<string> DeviceTypeAndPriorityToString( |
no test coverage detected