minpy
minpy copied to clipboard
NumPy interface with mixed backend execution
### Environment Python 3.7.3 (default, Mar 27 2019, 22:11:17) [GCC 7.3.0] :: Anaconda, Inc. on linux minpy 0.3.4 mxnet-cu90 1.5.0 ### Error line: ``` import minpy.numpy as np np.concatenate([np.array([]),np.array([])],axis=0) ```...
import minpy.numpy as np a = np.zeros((3,3)) b = a[:, :, np.newaxis] The following error occurred when I executed the above code: b = a[:, :, np.newaxis] File "/home/ai/anaconda3/envs/mask/lib/python3.6/site-packages/minpy/array.py", line...
File "/usr/local/lib/python3.6/dist-packages/minpy/primitive.py", line 141, in __call__ return self.call(args, kwargs) File "/usr/local/lib/python3.6/dist-packages/minpy/primitive.py", line 238, in call result_value = self._func(*arg_values, **kwarg_values) File "", line 62, in where File "/usr/local/lib/python3.6/dist-packages/mxnet/_ctypes/ndarray.py", line 92, in...
```python import minpy.numpy as np # import numpy as np len(np.array([1,2,3])) ``` results in ``` TypeError Traceback (most recent call last) in () 1 import minpy.numpy as np 2 #...
in numpy it works fine, but just slow ,guess owing to single thread so i convert to minpy,but occur obstacle: mu = np.mean(dataset, axis=0) File "C:\Users\lake zhang\AppData\Local\Programs\Python\Python36\lib\site-packages\minpy\primitive.py", line 141, in...
It maybe change item dtype of ndarray while producing data. for example, if producing image, input is dtype=int, and array need be updated by some aglothims several times and then...
Hi, Just started using minpy. Very good library so far. Just wondering if you guys are going to support numpy.linalg? Two most important functions there are probably .solve and .inv,...
For example sum and expand_dim does not support reverse indexing of the axis parameter. BTW, is this project still maintained?
## Setup * Ubuntu 16.04 * MXNet (ver 0.10.0) * Minpy (ver 0.3.4) ## What I was trying to do * Run MNIST but with `y_onehot` * X.shape = (n,...
Hey developers, here is a possible memory leakage issue that took me a lot of pain to track down... If I run the following code a few times: ```python #...