Data Manipulation

A quick question. Does mxnet NumPy implement all the functions available in standard NumPy libraries? I was looking for an inverse function and something like this

> M = np.array([[1, 2], [1, 4]])
> M_inv_1 = np.linalg.inv(M) 

However, it throws an error

Hi @sushmit86, great question! Most of the operators at Numpy are covered or will be covered. Please check the existing one at

Thanks a lot for your reply. While reading the docs I got a little confused. what is the difference between mxnet ndarrays and using numpy extention from mxnet ?

from mxnet import gluon, np, npx
import mxnet as mx
b = mx.nd.array([[1,2,3], [2,3,4]])
M = np.array([[1, 2], [1, 4]])

Hi @sushmit86. MXNet ndarray has extended functions towards deep learning (such as autograd). Check more details at