-
Notifications
You must be signed in to change notification settings - Fork 54
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
Set factories
default to copy=None
in line with Python array-API
#1117
Comments
ClaudiaComito
changed the title
Set
Set Mar 6, 2023
factories
default to copy=False
factories
default to copy=None
in line with Python array-API
4 tasks
ClaudiaComito
added a commit
that referenced
this issue
Mar 29, 2023
ClaudiaComito
added a commit
that referenced
this issue
Mar 30, 2023
ClaudiaComito
added a commit
that referenced
this issue
Apr 17, 2023
ClaudiaComito
added a commit
that referenced
this issue
Apr 17, 2023
ClaudiaComito
added a commit
that referenced
this issue
Apr 24, 2023
ClaudiaComito
added a commit
that referenced
this issue
Apr 27, 2023
ClaudiaComito
added a commit
that referenced
this issue
May 22, 2023
ClaudiaComito
added a commit
that referenced
this issue
May 31, 2023
ClaudiaComito
added a commit
that referenced
this issue
Jun 6, 2023
ClaudiaComito
added a commit
that referenced
this issue
Jun 19, 2023
mrfh92
added a commit
that referenced
this issue
Jun 19, 2023
…y-copy-None `ht.array()` default to `copy=None` (e.g., only if necessary)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
heat.array(obj)
by default makes a copy of the underlying object, in sync with np.array. Our users deal with massive arrays by definition, so we should consider deviating from NumPy here.Related
#991
Feature functionality
I propose to switch to the Python array-API
asarray
defaultcopy=None
and only create a copy when strictly necessary.Let's revise and release this quickly @Markus-Goetz
The text was updated successfully, but these errors were encountered: