You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Then, if we call np.may_share_memory(np_array, mx_np_array) or np.may_share_memory(np_array, mx_nd_array), it returns
TypeError: no implementation found for 'numpy.may_share_memory' on types that implement __array_function__: [<class 'numpy.ndarray'>, <class 'mxnet.numpy.ndarray'>]
It works for _np.may_share_memory(mx_nd_array, mx_np_array) though
True
The text was updated successfully, but these errors were encountered:
Description
For arrays that share memory, np.may_share_memory doesn't work for numpy types yet.
Then, if we call
np.may_share_memory(np_array, mx_np_array)
ornp.may_share_memory(np_array, mx_nd_array)
, it returnsIt works for
_np.may_share_memory(mx_nd_array, mx_np_array)
thoughThe text was updated successfully, but these errors were encountered: