-
Notifications
You must be signed in to change notification settings - Fork 23
Implementation of convolve #2205
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
Conversation
84ad9a8 to
6d8689f
Compare
|
View rendered docs @ https://intelpython.github.io/dpnp/pull/2205/index.html |
6d8689f to
c6dde99
Compare
5f429be to
6eb94b2
Compare
c6dde99 to
b39e5c9
Compare
4168f27 to
3a03fdc
Compare
3a03fdc to
1c52d67
Compare
|
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
|
Array API standard conformance tests for dpnp=0.18.0dev0=py312he4f9c94_80 ran successfully. |
|
@antonwolfy please review |
Co-authored-by: Vahid Tavanashad <[email protected]>
AlexanderKalistratov
left a comment
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.
@vtavana thanks for the review
please re-review.
Co-authored-by: Anton <[email protected]>
4bb43c0 to
58e859a
Compare
antonwolfy
left a comment
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.
Thank you @AlexanderKalistratov, LGTM
Add implementation of `dpnp.convolve`. Implementation is mostly based on already existing functionality developed for `dpnp.correlate` Similar to [scipy.signal.convolve](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.convolve.html) `method` keyword is introduced, but unlike `scipy.signal.convolve` `dpnp.convolve` works only with 1-d arrays. - [x] Have you provided a meaningful PR description? - [x] Have you added a test, reproducer or referred to issue with a reproducer? - [x] Have you tested your changes locally for CPU and GPU devices? - [x] Have you made sure that new changes do not introduce compiler warnings? - [x] Have you checked performance impact of proposed changes? - [x] If this PR is a work in progress, are you filing the PR as a draft? --------- Co-authored-by: Vahid Tavanashad <[email protected]> Co-authored-by: Anton <[email protected]> f13e9a4
Add implementation of
dpnp.convolve. Implementation is mostly based on already existing functionality developed fordpnp.correlateSimilar to scipy.signal.convolve
methodkeyword is introduced, but unlikescipy.signal.convolvedpnp.convolveworks only with 1-d arrays.