numpy / 1.22.0 / reference / generated / numpy.ndarray.__array_wrap__.html /

numpy.ndarray.__array_wrap__

method

ndarray. __array_wrap__ ( array, [ context, ] / )

Returns a view of array with the same type as self.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.ndarray.__array_wrap__.html