| Commit-Queue | +1 |
#if BUILDFLAG(WEBNN_USE_LITERT)Fu, JunweiCan you put this logic in `services/webnn/public/cpp/in_process_context_provider.cc` so we don't have a cross-dependency between the TFLite and LiteRT backends.
Reilly GrantThe function call `CreateWebNNContext` is a mojo interface, do you mean add a argument in constructor `ContextProviderTflite::ContextProviderTflite` from `in_process_context_provider.cc` that will be called back with the argument? How about renaming `ContextProviderTflite` to `ContextProviderInRenderer` for both TFLite and LiteRT backend?
Fu, JunweiYes, rename `ContextProviderTflite` to `ContextProviderInRenderer` and have it cover both cases. As we experiment with using ORT or CoreML in the renderer as well it will expand beyond just TFLite and LiteRT.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |