-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Added ediff1d to numpy frontend #13368
Conversation
@Infrared1029 Request you to look at my PR |
Hello @Aneesh02, the test appears to be failing, can you make sure it passes so I can take a close look? Thanks! |
Hello @Infrared1029, Thanks for reviewing I have fixed the error in test_run_1. The linting error is not from the files I have changed. |
Hello @Aneesh02, the implementation looks good to me, just a few comments, make sure to follow the original function signature i.e |
@Infrared1029 Thanks for the review. I have incorporated the original function signature. Can you please help me as to where can I find paddle.diff in the backend files? |
@Infrared1029 please help me resolve this error |
UPDATE: All the tests are passing for now. Just the test file needs to fixed to incorporate values for |
let me know once you get that done:) |
@Infrared1029 I have fixed the issues. Please have a look. Thanks! |
..._ivy/test_frontends/test_numpy/test_mathematical_functions/test_sums_products_differences.py
Outdated
Show resolved
Hide resolved
..._ivy/test_frontends/test_numpy/test_mathematical_functions/test_sums_products_differences.py
Outdated
Show resolved
Hide resolved
..._ivy/test_frontends/test_numpy/test_mathematical_functions/test_sums_products_differences.py
Show resolved
Hide resolved
..._ivy/test_frontends/test_numpy/test_mathematical_functions/test_sums_products_differences.py
Outdated
Show resolved
Hide resolved
@AnnaTz @Infrared1029 I have tried a lot I cannot find out why the error is coming. Please help me resolve it. The example generated is fine. |
Just found ediff1 in our jax numpy frontend. You could take a look at how that was implemented and tested. It's practically the same function. |
@AnnaTz Finally it worked. Looks like the way I wrote the function was wrong. It was a good learning experience for me. Thank you @AnnaTz @Infrared1029 for reviewing the PR multiple times. |
..._ivy/test_frontends/test_numpy/test_mathematical_functions/test_sums_products_differences.py
Outdated
Show resolved
Hide resolved
Thanks @AnnaTz @Infrared1029 |
Co-authored-by: @AnnaTz @Infrared1029
Close #13356