XNNPACK backend supports subgraph API #239
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
XNNPACK subgraph API is used by TFLite XNNPACK delegate for graph level optimization and execution with good performance.
This PR updates WebNN-native's XNNPACK backend to support subgraph API with 27 ops support
webnn_end2end_tests results:
[ PASSED ] 103 tests including MobileNetV2Nhwc and SqueezeNetNhwc
267 FAILED TESTS
@fujunwei , PTAL.
This PR also adds constant weights cases in gemm tests, @BruceDai , please also take a look.