Converts fusion config to string format.
| 28 | |
| 29 | // Converts fusion config to string format. |
| 30 | static std::string FusionConfigToString(const FusionConfig& config) { |
| 31 | std::string s; |
| 32 | for (const auto& edge_list : config) { |
| 33 | for (bool edge : edge_list) { |
| 34 | absl::StrAppend(&s, edge ? "1" : "0"); |
| 35 | } |
| 36 | } |
| 37 | return s; |
| 38 | } |
| 39 | |
| 40 | // A queue interface that allows implementations to choose fusion candidates in |
| 41 | // custom order. |