forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add overload of
ModifyGraphWithDelegate
that takes a `TfLiteOpaqueD…
…elegate*`. This is similar to the existing overload of `InterpreterBuilder::AddDelegate`. When building with TFLITE_USE_OPAQUE_DELEGATE, this overload is needed to use ModifyGraphWithDelegate with delegates created using TfLiteOpaqueDelegateCreate. InterpreterBuilder::AddDelegate remains preferred over Interpreter::ModifyGraphWithDelegate, but this new overload is useful because it reduces the burden for converting code to use the opaque delegate APIs. PiperOrigin-RevId: 586663060
- Loading branch information
1 parent
0d8a6a4
commit 45374d5
Showing
5 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters