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

Added mathematical function jax.numpy.imag #18982

Merged
merged 3 commits into from
Jul 9, 2023
Merged

Added mathematical function jax.numpy.imag #18982

merged 3 commits into from
Jul 9, 2023

Conversation

moezAhmad
Copy link
Contributor

@moezAhmad moezAhmad commented Jul 8, 2023

close #18981

@ivy-leaves ivy-leaves added the JAX Frontend Developing the JAX Frontend, checklist triggered by commenting add_frontend_checklist label Jul 8, 2023
Copy link
Contributor

@hmahmood24 hmahmood24 left a comment

Choose a reason for hiding this comment

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

Hey @moezAhmad, requested some changes for you to look into. Do request a re-review once done. Thanks! :)

on_device=on_device,
rtol=1e-2,
atol=1e-2,
input=x[0],
Copy link
Contributor

Choose a reason for hiding this comment

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

The input here should instead be val

Comment on lines 2545 to 2546
rtol=1e-2,
atol=1e-2,
Copy link
Contributor

Choose a reason for hiding this comment

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

Are the tests not passing with a low tolerance value? Somewhere around 1e-4? 1e-2 seems to be too high of a tolerance value

Comment on lines 2518 to 2520
# imag


Copy link
Contributor

Choose a reason for hiding this comment

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

Pretty sure these are lint/formatting issues. Can you kindly resolve these? :) We recommend using pre-commit to automatically format your PRs every time you commit. Thanks

@moezAhmad
Copy link
Contributor Author

@hmahmood24 Thank you for reviewing my pr. I have implemented changes as you requested.

@moezAhmad moezAhmad requested a review from hmahmood24 July 8, 2023 11:04
Copy link
Contributor

@hmahmood24 hmahmood24 left a comment

Choose a reason for hiding this comment

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

Everything seems good to merge now. Thanks @moezAhmad! 🚀

@hmahmood24 hmahmood24 merged commit a20fc6c into ivy-llc:master Jul 9, 2023
@moezAhmad moezAhmad deleted the jax_numpy_imag branch July 9, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JAX Frontend Developing the JAX Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

imag
3 participants