Skip to content
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

Implementation of convolve #2205

Merged
merged 18 commits into from
Apr 1, 2025
Merged

Implementation of convolve #2205

merged 18 commits into from
Apr 1, 2025

Conversation

AlexanderKalistratov
Copy link
Collaborator

Add implementation of dpnp.convolve. Implementation is mostly based on already existing functionality developed for dpnp.correlate
Similar to scipy.signal.convolve method keyword is introduced, but unlike scipy.signal.convolve dpnp.convolve works only with 1-d arrays.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you filing the PR as a draft?

Copy link
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/2205/index.html

Copy link
Contributor

github-actions bot commented Mar 14, 2025

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@coveralls
Copy link
Collaborator

coveralls commented Mar 14, 2025

Coverage Status

coverage: 72.228% (+0.08%) from 72.152%
when pulling 4bb43c0 on convolve
into 04bfac7 on master.

Copy link
Contributor

github-actions bot commented Mar 14, 2025

Array API standard conformance tests for dpnp=0.18.0dev0=py312he4f9c94_80 ran successfully.
Passed: 1197
Failed: 0
Skipped: 14

@AlexanderKalistratov
Copy link
Collaborator Author

@antonwolfy please review

Copy link
Collaborator Author

@AlexanderKalistratov AlexanderKalistratov left a 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.

Copy link
Contributor

@antonwolfy antonwolfy left a 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

@AlexanderKalistratov AlexanderKalistratov merged commit f13e9a4 into master Apr 1, 2025
65 of 67 checks passed
@AlexanderKalistratov AlexanderKalistratov deleted the convolve branch April 1, 2025 15:44
github-actions bot added a commit that referenced this pull request Apr 1, 2025
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
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.

4 participants