Skip to content

EP factory creation cleanup and enhancements.#11798

Merged
skottmckay merged 10 commits intomasterfrom
skottmckay/EPFactoryCreationCleanup_AddGenericAppendEP_AddXnnpackToApis
Jun 15, 2022
Merged

EP factory creation cleanup and enhancements.#11798
skottmckay merged 10 commits intomasterfrom
skottmckay/EPFactoryCreationCleanup_AddGenericAppendEP_AddXnnpackToApis

Conversation

@skottmckay
Copy link
Copy Markdown
Contributor

Description:
Rework the EP factory creation setup so we're not cut-and-pasting function declarations in multiple places.
Convert append EP for SNPE to be generic, and also use for XNNPACK.
Add XNNPACK to C# API

Motivation and Context
Initially adding xnnpack support...
Remove cut-and-pasting of EP factory creation funcs and make it easier to find where they're declared and implemented.

…ction declarations in multiple places.

Convert append EP for SNPE to be generic, and also use for XNNPACK.
Add XNNPACK to C# API
@skottmckay skottmckay marked this pull request as ready for review June 10, 2022 05:13
Fix some more files with cut-and-pasted function signatures.
test.AddOutput<float>("output", {4, 2},
{11.0f, 12.0f, 13.0f, 14.0f,
21.0f, 22.0f, 23.0f, 24.0f});
test.Run();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-format doesn't join this into a single line if the opening '{' is on a new line.

Only use EPs that require the layout transform if the opset is supported by the layout transformer.
…yCreationCleanup_AddGenericAppendEP_AddXnnpackToApis
pranavsharma
pranavsharma previously approved these changes Jun 15, 2022
@skottmckay skottmckay merged commit d64f23f into master Jun 15, 2022
@skottmckay skottmckay deleted the skottmckay/EPFactoryCreationCleanup_AddGenericAppendEP_AddXnnpackToApis branch June 15, 2022 21:01
mayeut added a commit to mayeut/onnxruntime that referenced this pull request Jun 17, 2023
microsoft#11798 removed the include/core/providers/xnnpack folder, it shall not be installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants