| 134 | } |
| 135 | |
| 136 | HloComputation* FindComputation(const HloModule& module, |
| 137 | const string& comp_name) { |
| 138 | for (auto* computation : module.computations()) { |
| 139 | if (EqualsIgnoreCase(computation->name(), comp_name)) { |
| 140 | return computation; |
| 141 | } |
| 142 | } |
| 143 | return nullptr; |
| 144 | } |
| 145 | |
| 146 | // Print a help message describing the various available commands. |
| 147 | void DoHelpCommand() { |
no test coverage detected