-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix: Circumvent tf-2.12 breaking change on tflite subgraph API to …
…unbreak UT (#2204) TF-2.12.0 introduced API change that breaks tf2onnx UT tests on the tflite paths, due to the addition of compulsory subgraph arg to several function's input signature: tensorflow/tensorflow@55d84d7 This commit is a temporary hotfix to unbreak related UT failure. Existing tf2onnx's use cases get tflite Interpreter's tensors from model's first subgraph only. The hotfix hard-codes subgraph index to `0` to retain the same behavior while resolves API diff. Signed-off-by: Yu Cong <congyc@amazon.com>
- Loading branch information
Showing
2 changed files
with
11 additions
and
16 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