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

feat: Add extra arguments to min #27152

Merged
merged 18 commits into from
Dec 25, 2023
Merged

feat: Add extra arguments to min #27152

merged 18 commits into from
Dec 25, 2023

Conversation

Aaryan562
Copy link
Contributor

@vedpatwardhan As discussed in the trello card where I need to add additional arguments to the statistical functions, I decided to create individual PR for each function as it was becoming overwhelming for me to do all the changes in single PR and also it would be easy for you to debug and review.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Issue Reference

In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our contributing guide and our PR template.
This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.

@Aaryan562 Aaryan562 changed the title Add extra arguments to min feat: Add extra arguments to min Oct 27, 2023
@ivy-leaves ivy-leaves added Array API Conform to the Array API Standard, created by The Consortium for Python Data API Standards PaddlePaddle Backend Developing the Paddle Paddle Backend. Ivy Functional API labels Oct 27, 2023
@Aaryan562
Copy link
Contributor Author

Aaryan562 commented Oct 28, 2023

image I have tested with 100 & 400 examples. Idk why in the CI it is showing so many failing tests

Copy link
Contributor

@vedpatwardhan vedpatwardhan left a comment

Choose a reason for hiding this comment

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

Hey @Aaryan562, just requested a minor change. As far as the test failures go, most of them seem to be stemming from the new paddle release which is unrelated to your PR. The tests for test_min seem to be passing. Thanks 😄

ivy/data_classes/array/statistical.py Outdated Show resolved Hide resolved
Copy link
Contributor

@vedpatwardhan vedpatwardhan left a comment

Choose a reason for hiding this comment

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

Hey @Aaryan562, just requested another change, thanks 😄

ivy/functional/backends/tensorflow/statistical.py Outdated Show resolved Hide resolved
@vedpatwardhan vedpatwardhan removed their request for review November 2, 2023 05:26
@vedpatwardhan
Copy link
Contributor

Happy to take a look again once you're done with the changes 😄

Copy link
Contributor

@vedpatwardhan vedpatwardhan left a comment

Choose a reason for hiding this comment

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

Just requested a final couple of changes, rest looks good to merge. Thanks @Aaryan562 😄

ivy/functional/backends/tensorflow/statistical.py Outdated Show resolved Hide resolved
ivy/functional/backends/torch/statistical.py Outdated Show resolved Hide resolved
Copy link
Contributor

@vedpatwardhan vedpatwardhan left a comment

Choose a reason for hiding this comment

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

Just requested a change in one of the comments from the previous review, rest looks good. thanks @Aaryan562 😄

Copy link
Contributor

@vedpatwardhan vedpatwardhan left a comment

Choose a reason for hiding this comment

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

The changes look good, but the test seems to be failing with the jax and numpybackends. For thejaxofc, the test is failing due to the version number, but for thenumpy` backend, the failure seems to be related to the changes made. Could you please look into it? Thanks @Aaryan562 😄

ivy/functional/backends/torch/statistical.py Outdated Show resolved Hide resolved
@Aaryan562
Copy link
Contributor Author

The changes look good, but the test seems to be failing with the jax and numpybackends. For thejaxofc, the test is failing due to the version number, but for thenumpy` backend, the failure seems to be related to the changes made. Could you please look into it? Thanks @Aaryan562 😄

@vedpatwardhan I did the changes as you said in the last commit. But it did gave the error and I have mentioned it in the above msg as well which I think got missed.

@vedpatwardhan
Copy link
Contributor

@vedpatwardhan I did the changes as you said in the last commit. But it did gave the error and I have mentioned it in the above msg as well which I think got missed.

Sorry about that, just responded to that message, feel free to request a review once you're done with those changes. Thanks!

@vedpatwardhan vedpatwardhan removed their request for review November 14, 2023 05:11
Copy link
Contributor

@vedpatwardhan vedpatwardhan left a comment

Choose a reason for hiding this comment

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

lgtm! Feel free to merge, thanks @Aaryan562 😄

@NripeshN NripeshN merged commit eb864fe into ivy-llc:main Dec 25, 2023
26 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Array API Conform to the Array API Standard, created by The Consortium for Python Data API Standards Ivy Functional API PaddlePaddle Backend Developing the Paddle Paddle Backend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants