dmlc / minpy

NumPy interface with mixed backend execution
https://minpy.readthedocs.io/en/latest/
Other
1.11k stars 112 forks source link

Import Error, Type MXNet for NDArray.reshape has already existed #153

Closed csgcmai closed 7 years ago

csgcmai commented 7 years ago

Hi, I accidently find that import the minpy with mxnet (the latest master or engine branch) will lead to the error as titled. The problem could be solved by comment the following line:

line 104 in minpy/array_variants/mxnet/mxnet_core.py: reg.register('reshape', prim_wrapper(NDArray.reshape))

lryta commented 7 years ago

This is due to the change on MXNet side. I will fix this shortly.

lryta commented 7 years ago

@csgcmai Btw, you can use engine branch as in the installation guide. MinPy is merging with MXNet now. When we complete, MinPy will catch up with all the features MXNet added in her new version.

csgcmai commented 7 years ago

@lryta , thanks for the information and I am looking forward to the updates.