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

isfortran #10565

Merged
merged 7 commits into from
Feb 18, 2023
Merged

isfortran #10565

merged 7 commits into from
Feb 18, 2023

Conversation

shireenchand
Copy link
Contributor

Frontend and test for numpy isfortran

@suvadityamuk
Copy link
Contributor

suvadityamuk commented Feb 15, 2023

Hi, @shireenchand 🙂

Could you possibly explain why we should be looking at making use of the a.flags.fnc flag wherein a better alternative exists for using the a.flags.f_contiguous instead?
Also, could you possibly check the linting on the ivy/functional/frontends/numpy/logic/truth_value_testing.py? It seems there are some linting errors on the same.

Thank you for taking the time to make the PR!

@ivy-leaves ivy-leaves added the NumPy Frontend Developing the NumPy Frontend, checklist triggered by commenting add_frontend_checklist label Feb 15, 2023
@shireenchand
Copy link
Contributor Author

Hey @suvadityamuk,

The reason why I chose a.flags.fnc is because we get an extra check here on the fact that is it just F_Contiguous and not C_Contiguous as well

@suvadityamuk
Copy link
Contributor

Hey @suvadityamuk,
The reason why I chose a.flags.fnc is because we get an extra check here on the fact that is it just F_Contiguous and not C_Contiguous as well

Right, understood. Thanks for the explanation!

Could you possibly re-check the linting errors? Might I suggest making use of the pre-commit hook to help?

@shireenchand
Copy link
Contributor Author

shireenchand commented Feb 16, 2023

Hi @suvadityamuk @V-G-spec, is there a reason why these tests are failing? Like something related to the frontend or do they fail usually?

@suvadityamuk
Copy link
Contributor

suvadityamuk commented Feb 16, 2023

Hi, @shireenchand

The previously-occurring linting errors have been fixed, along with the fact that the test you wrote seems to pass.

Thank you for the PR!

@V-G-spec Requesting a final review, actual test run here and linting test run here

@V-G-spec
Copy link
Contributor

Hi, can you revert the changes other than the ones for the function you worked on in the test file?

@shireenchand
Copy link
Contributor Author

shireenchand commented Feb 16, 2023

@V-G-spec I corrected those. Can you please check them?

@shireenchand
Copy link
Contributor Author

Hi @V-G-spec,
Do let me know if there are any other changes that are needed?
Thanks!!

@V-G-spec
Copy link
Contributor

Looks good, and I believe @suvadityamuk verified tests were failing due to some other files

@V-G-spec V-G-spec merged commit 413cfe9 into ivy-llc:master Feb 18, 2023
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 23, 2023
Co-authored-by: Vansh Gupta <[email protected]>
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 23, 2023
Co-authored-by: Vansh Gupta <[email protected]>
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
Co-authored-by: Vansh Gupta <[email protected]>
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
Co-authored-by: Vansh Gupta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NumPy Frontend Developing the NumPy Frontend, checklist triggered by commenting add_frontend_checklist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants