Add RVV implementation for exp#6637
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6637 +/- ##
==========================================
+ Coverage 93.75% 93.79% +0.03%
==========================================
Files 907 913 +6
Lines 286651 288079 +1428
==========================================
+ Hits 268761 270191 +1430
+ Misses 17890 17888 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
nihui
requested changes
Apr 4, 2026
Member
nihui
left a comment
There was a problem hiding this comment.
Legacy layers from the Caffe era, whether in PyTorch or ONNX, will no longer convert to ncnn's Exp and Log, but instead use UnaryOp. However, since you've already optimized them, I believe necessary unit tests are essential. You need to add code like test_exp and test_log to your tests; you can refer to other test implementations for examples.
nihui
requested changes
Apr 4, 2026
Signed-off-by: ihb2032 <hebome@foxmail.com>
Member
|
Thanks for your contribution ! |
vlordier
pushed a commit
to vlordier/ncnn
that referenced
this pull request
Apr 10, 2026
* rvv: add exp * add test Signed-off-by: ihb2032 <hebome@foxmail.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add exp operator implementation using RVV intrinsics.