Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
According to the array api reshape is supposed to have a copy argument.
import numpy as np import array_api_strict as xps xps.reshape(xps.zeros((1,2,3)), (3,2,1), copy=True) np.reshape(np.zeros((1,2,3)), (3,2,1), copy=True) # TypeError: reshape() got an unexpected keyword argument 'copy'
No response
2.0.2 3.12.5 | packaged by conda-forge | (main, Aug 8 2024, 18:24:51) [MSC v.1940 64 bit (AMD64)]
The text was updated successfully, but these errors were encountered:
Fixed in #26292 which is part of the latest release (2.1). Please update.
Sorry, something went wrong.
there seems to be an issue with linters still
@mattip perhaps I should have added a mention of you since this issue is closed and might not be on the radar anymore.
@FelixBenning please open a new issue, and don't forget to help us reproduce: what version of NumPy, operating system, linter ...
No branches or pull requests
Describe the issue:
According to the array api reshape is supposed to have a copy argument.
Reproduce the code example:
Error message:
No response
Python and NumPy Versions:
2.0.2
3.12.5 | packaged by conda-forge | (main, Aug 8 2024, 18:24:51) [MSC v.1940 64 bit (AMD64)]
Runtime Environment:
No response
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: