numpy / 1.23 / 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–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.23/reference/generated/numpy.ndarray.__array_wrap__.html