Skip to content

Add OpenVINO backend support for argmin and argmax #21060

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

Merged
merged 12 commits into from
Apr 9, 2025

Conversation

Hmm-1224
Copy link
Contributor

@rkazants please check out this PR

@codecov-commenter
Copy link

codecov-commenter commented Mar 18, 2025

Codecov Report

Attention: Patch coverage is 77.77778% with 8 lines in your changes missing coverage. Please review.

Project coverage is 82.70%. Comparing base (7ed8edb) to head (eb5eb94).

Files with missing lines Patch % Lines
keras/src/backend/openvino/numpy.py 77.77% 4 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #21060      +/-   ##
==========================================
- Coverage   82.70%   82.70%   -0.01%     
==========================================
  Files         564      564              
  Lines       54159    54195      +36     
  Branches     8414     8422       +8     
==========================================
+ Hits        44792    44820      +28     
- Misses       7294     7298       +4     
- Partials     2073     2077       +4     
Flag Coverage Δ
keras 82.51% <77.77%> (-0.01%) ⬇️
keras-jax 64.02% <0.00%> (-0.05%) ⬇️
keras-numpy 59.04% <0.00%> (-0.04%) ⬇️
keras-openvino 32.96% <77.77%> (+0.04%) ⬆️
keras-tensorflow 64.30% <0.00%> (-0.05%) ⬇️
keras-torch 64.06% <0.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hmm-1224
Copy link
Contributor Author

hello @rkazants,
please check out this PR and guide me further .....

@Hmm-1224
Copy link
Contributor Author

Hmm-1224 commented Mar 24, 2025

Hey @rkazants,
As we are approaching the final stages of GSoC 2025, I’m truly passionate about contributing to OpenVINO and would love to successfully complete this PR as a prerequisite..

@Hmm-1224 Hmm-1224 requested a review from rkazants March 27, 2025 10:21
@Hmm-1224 Hmm-1224 requested a review from rkazants March 28, 2025 06:19
@Hmm-1224
Copy link
Contributor Author

hey @rkazants,
please check it out. i guess i made all mandatory changes u suggested..

@Hmm-1224
Copy link
Contributor Author

Hmm-1224 commented Mar 29, 2025

Screenshot 2025-03-29 150512

Why is this coming ? since i removed argmax argmin the no. of lines reduced and last line come at 164 from 168..then why is it creating issue?

@Hmm-1224

This comment was marked as off-topic.

@Hmm-1224 Hmm-1224 requested a review from rkazants April 3, 2025 19:20
@Hmm-1224 Hmm-1224 requested a review from rkazants April 4, 2025 09:46
@rkazants
Copy link
Contributor

rkazants commented Apr 6, 2025

@Hmm-1224, I still see a lot undesired changes. Please always verify "Files changed" tab:
{36ABA0EF-6D45-4C64-BA75-5718ED71A548}

@Hmm-1224
Copy link
Contributor Author

Hmm-1224 commented Apr 7, 2025

@rkazants,
Hello sir... So far you helped a lot. Tomorrow(8th apr) is the deadline please help some more in completing this task.
I verify everything with master and only hstack implementation was unnecessary which i removed. Please tell what i have to remove exactly....

@Hmm-1224
Copy link
Contributor Author

Hmm-1224 commented Apr 8, 2025

Hello @rkazants,
Everything is now clear in "files changed". please check...

@Hmm-1224 Hmm-1224 requested a review from rkazants April 8, 2025 07:37
Copy link
Contributor

@rkazants rkazants left a comment

Choose a reason for hiding this comment

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

@fchollet, looks good to me. Recommend to merge

@Hmm-1224
Copy link
Contributor Author

Hmm-1224 commented Apr 8, 2025

@rkazants,
Sir, anything I am required to do now...

@rkazants
Copy link
Contributor

rkazants commented Apr 8, 2025

@rkazants, Sir, anything I am required to do now...

No. We anticipate approval and merge from @fchollet.

@Hmm-1224
Copy link
Contributor Author

Hmm-1224 commented Apr 8, 2025

Okay. Thanks a lot for guiding me and showing patience..

Copy link
Collaborator

@fchollet fchollet left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Sorry for the delay in merging.

@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels Apr 9, 2025
@github-project-automation github-project-automation bot moved this from Assigned Reviewer to Approved by Reviewer in PR Queue Apr 9, 2025
@fchollet fchollet merged commit ea84f00 into keras-team:master Apr 9, 2025
7 checks passed
@google-ml-butler google-ml-butler bot removed awaiting review ready to pull Ready to be merged into the codebase labels Apr 9, 2025
@github-project-automation github-project-automation bot moved this from Approved by Reviewer to Merged in PR Queue Apr 9, 2025
@Hmm-1224
Copy link
Contributor Author

Hmm-1224 commented Apr 9, 2025

@fchollet , Thank you sir for merging this.

chiruu12 pushed a commit to chiruu12/keras that referenced this pull request Apr 11, 2025
* Update numpy.py

* Update excluded_concrete_tests.txt

* all issues fixed

* Update numpy.py

* numpy.py reformatted

* Update excluded_concrete_tests.txt

* Update excluded_concrete_tests.txt

* Update excluded_concrete_tests.txt

* Update excluded_concrete_tests.txt

* Update excluded_concrete_tests.txt

* Update excluded_concrete_tests.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

5 participants