| 130 | } |
| 131 | |
| 132 | int CountTrueOutputs(const Model& model, const Operator& op) { |
| 133 | int count = 0; |
| 134 | for (const string& output : op.outputs) { |
| 135 | if (IsArrayConsumed(model, output)) { |
| 136 | ++count; |
| 137 | } |
| 138 | } |
| 139 | return count; |
| 140 | } |
| 141 | |
| 142 | int CountOpsWithInput(const Model& model, const string& array_name) { |
| 143 | int count = 0; |
no test coverage detected