[Numpy-discussion] Proposal: add `force=` or `copy=` kwarg to `__array__` interface
ralf.gommers at gmail.com
Wed Apr 29 07:07:09 EDT 2020
On Wed, Apr 29, 2020 at 12:27 PM Juan Nunez-Iglesias <jni at fastmail.com>
> Ralf, you said you don't want warnings — even for sparse arrays? That was
> an area of concern for you on the PyTorch discussion side.
Providing a boolean keyword argument and then raising a warning every time
anyone uses that keyword makes very little sense.
This should simply be handled by clear documentation: use only in code like
visualization where the array arrives at its "end station", never in
functions that are again built on top of.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion