Using absl::StrJoin with lambda does not work in tf-lite builds.
| 74 | |
| 75 | // Using absl::StrJoin with lambda does not work in tf-lite builds. |
| 76 | std::vector<string> DevicesToString(const std::vector<Device*> devices) { |
| 77 | std::vector<string> v; |
| 78 | v.reserve(devices.size()); |
| 79 | for (Device* d : devices) { |
| 80 | v.push_back(d->name()); |
| 81 | } |
| 82 | return v; |
| 83 | } |
| 84 | |
| 85 | // Initializes the step stats if needed. |
| 86 | void MaybeInitializeStepStats(StepStats* step_stats, EagerContext* ctx) { |
no test coverage detected