-
Notifications
You must be signed in to change notification settings - Fork 628
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
Improve ncnn patch embed #592
Improve ncnn patch embed #592
Conversation
How to generate the graph in this PR? Looks cool. |
Just markdown. “ ```mermaid ” flowchart TD; “ conv-->reshape; ” ``` |
Codecov Report
@@ Coverage Diff @@
## master #592 +/- ##
==========================================
- Coverage 57.42% 57.38% -0.05%
==========================================
Files 258 259 +1
Lines 8561 8574 +13
Branches 1279 1281 +2
==========================================
+ Hits 4916 4920 +4
- Misses 3292 3301 +9
Partials 353 353
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* improvement(PatchEmbed): use reshape instead of flatten * improvement(init_plugins.py): get onnx2ncnn path * fix(CI): build error * fix(CI): revert get onnx2ncnn path
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Modification
before:
after:
if
get_onnx2ncnn_path
failed, give more tipsfix-typo
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist