-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QDQ] Move NNAPI EP to use NodeUnitIODef for non-QDQ ops #10237
Merged
Merged
Changes from 25 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5331711
clear using in code
guoyu-wang e0f844c
add qlinear iodef generation
guoyu-wang 72f0324
Move iodef out of nodeunit
guoyu-wang b55527b
Move AddInitializersToSkip to use iodef
guoyu-wang 5252da7
minor fix
guoyu-wang 24eb8fd
Merge remote-tracking branch 'origin/master' into gwang-msft/use_node…
guoyu-wang 6189bb1
Move get quantized inputs to NodeUnit
guoyu-wang 2baac12
move isvalidzp to nodeunit, fix some minor bug
guoyu-wang 35b6565
Merge remote-tracking branch 'origin/master' into gwang-msft/use_node…
guoyu-wang 5504358
Let HasValidQuantizationZeroPoints handle output def of node_unit
guoyu-wang 87c1204
move op_support_checked to node_unit
guoyu-wang 1367e84
Merge remote-tracking branch 'origin/master' into gwang-msft/use_node…
guoyu-wang 7ee1ecb
minor update
guoyu-wang 221776b
add activation handleing for node_unit
guoyu-wang 35292cb
add bin and relu support
guoyu-wang 21d0555
move more ops to node_unit
guoyu-wang 61b7e7e
move conv to node_unit
guoyu-wang 7aa4f9d
move gemm/cast to node_unit
guoyu-wang cc6d468
remove redundant functions
guoyu-wang edff0b4
remove function postfix
guoyu-wang 09dbdb5
Merge remote-tracking branch 'origin/master' into gwang-msft/use_node…
guoyu-wang a551aff
fix NNAPI CI failure
guoyu-wang 718e6b8
address CR comments
guoyu-wang 8d0692b
remove redudant ORT_MUST_USE_RESULT, and clear includes
guoyu-wang e075eaa
Simplify FindActivation
guoyu-wang 613035c
address CR comments
guoyu-wang e0191e5
address CR comments
guoyu-wang 80caa9b
Merge remote-tracking branch 'origin/master' into gwang-msft/use_node…
guoyu-wang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
209 changes: 126 additions & 83 deletions
209
onnxruntime/core/providers/nnapi/nnapi_builtin/builders/helper.cc
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a quick question regarding this:
Since the shared GetQDQselection() method now returns a
std::vector<NodeGroup>
. and if I understand correctly in order to make NodeUnits here from aNodeGroup
type, we need the QDQGroup type NodeUnit to be implemented first before adding the hookup right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we will update the NodeUnit to take
NodeGroup
, for now the NodeUnit can only handle single nodeThis will be part of task 5