| 352 | } |
| 353 | |
| 354 | bool IsSubgraphInput(SubGraphT* subgraph, int32_t index) { |
| 355 | for (const int32_t input_idx : subgraph->inputs) { |
| 356 | if (index == input_idx) { |
| 357 | return true; |
| 358 | } |
| 359 | } |
| 360 | return false; |
| 361 | } |
| 362 | |
| 363 | // Quantize the op input. Will increment op_idx if ops are added. |
| 364 | TfLiteStatus QuantizeOpInput( |