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

Reformat supports_inplace_updates #10633

Merged

Conversation

rishabgit
Copy link
Contributor

Close #10630

@ivy-leaves ivy-leaves added Array API Conform to the Array API Standard, created by The Consortium for Python Data API Standards Ivy Functional API labels Feb 18, 2023
@aditya-hari aditya-hari changed the title Updated fn arg signs & docstring with e.g.s for supports_inplace_updates Reformat supports_inplace_updates Feb 18, 2023
@aditya-hari
Copy link
Contributor

Hey! Thanks for the contribution.

Can you add the examples to array/general.py and container/general.py as well, in line with the other functions?

@rishabgit
Copy link
Contributor Author

@aditya-hari Whoops, must've misread the docstring guidelines when it said to keep the instance methods of array and container minimal. Thanks for pointing that out, added 2 examples for each with a backend that supports and doesn't support in-place ops

@aditya-hari
Copy link
Contributor

Looks good to me!

@aditya-hari aditya-hari merged commit ceda89e into ivy-llc:master Feb 21, 2023
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 23, 2023
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 23, 2023
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
vedpatwardhan pushed a commit to vedpatwardhan/ivy that referenced this pull request Feb 26, 2023
@rishabgit rishabgit deleted the reformat_supports_inplace_update branch February 28, 2023 07:21
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

supports_inplace
3 participants