ndarray
ndarray.
__array__
Returns either a new reference to self if dtype is not given or a new arrayof provided data type if dtype is different from the current dtype of thearray.
numpy.ndarray.__new__
numpy.ndarray.__array_wrap__