-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Closed
Labels
Description
Describe the issue:
According to the array api reshape is supposed to have a copy argument.
Reproduce the code example:
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'
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