| 97 | } |
| 98 | |
| 99 | bool IsInputArray(const Model& model, const string& array_name) { |
| 100 | for (const auto& input_array : model.flags.input_arrays()) { |
| 101 | if (array_name == input_array.name()) { |
| 102 | return true; |
| 103 | } |
| 104 | } |
| 105 | return false; |
| 106 | } |
| 107 | |
| 108 | bool IsOutputArray(const Model& model, const string& array_name) { |
| 109 | for (const auto& output_array : model.flags.output_arrays()) { |
no test coverage detected