-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[Plugin EP] Add plugin EP APIs to retrieve ONNX operator schemas #27713
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
89d414f
[Plugin EP] Add C APIs to add OpSchemas for custom ops, get opschema …
adrianlizarraga c57cc57
Add OpSchema APIs to get SinceVersion, NumInputs, and NumOutputs
adrianlizarraga df4058a
CXX apis
adrianlizarraga c79cad5
Add unit tests
adrianlizarraga a052871
null checks
adrianlizarraga 183ea29
Update OpSchema_HasTypeConstraint to return a status
adrianlizarraga a05ade9
Update C++ API to return std::string
adrianlizarraga 5b64fec
Remove unnecessary forward declaration
adrianlizarraga bfe6853
Review comments
adrianlizarraga b2b67f9
Merge branch 'main' into adrianl/PluginEp_Kernels_GetOpSchema
adrianlizarraga b0491bb
Merge branch 'main' into adrianl/PluginEp_Kernels_GetOpSchema
adrianlizarraga 419735c
Add static_assert for ep_api
adrianlizarraga 4f58b99
First attempt at getting more info about type constraints
adrianlizarraga 29f1f7b
Remove HasTypeConstraint
adrianlizarraga 0b71072
Refactor OrtOpSchema from reinterpret_cast to opaque owning struct
adrianlizarraga d5642a2
Refactor type constraints to per-entity OrtOpSchemaTypeConstraint API
adrianlizarraga 09d5ecd
Rename OpSchemaTypeConstraint_GetName to GetTypeParamName
adrianlizarraga 87dc453
Mention domains and handle 'ai.onnx' alias
adrianlizarraga 50a6541
Update docs and move ReleaseOpSchema
adrianlizarraga 742fd26
Add comment about there only being one type param per input or output
adrianlizarraga 061b39c
Add doc comment about use of OpSchema_GetTypeConstraint
adrianlizarraga 2cf04fc
Merge branch 'main' into adrianl/PluginEp_Kernels_GetOpSchema
adrianlizarraga 8437870
Review comments
adrianlizarraga a195d9a
Make tests test what comments say
adrianlizarraga 82d5322
Consolidate tests
adrianlizarraga a3a60fb
Address review comments
adrianlizarraga 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
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.