| 267 | } |
| 268 | |
| 269 | TfLiteStatus Interpreter::ModifyGraphWithDelegate(TfLiteDelegate* delegate) { |
| 270 | for (auto& subgraph : subgraphs_) { |
| 271 | TF_LITE_ENSURE_OK(context_, subgraph->ModifyGraphWithDelegate(delegate)); |
| 272 | } |
| 273 | return kTfLiteOk; |
| 274 | } |
| 275 | |
| 276 | TfLiteStatus Interpreter::ModifyGraphWithDelegate(TfLiteDelegatePtr delegate) { |
| 277 | // Note that we retain ownership of the delegate even if graph modification |
no test coverage detected