dmlc / minpy

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

minpy doesn't support astype function!!! #185

Open taichu012 opened 6 years ago

taichu012 commented 6 years ago

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 array are dtype = float32, after that we need to save image back to disk, so we need array of image with dtype=int AGAIN! but minpy DOESN'T SUPPORT 'ASTYPE‘ function which REAL NUMPY support, it really basic, please add them, otherwise minpy CAN NOT BE EASY USE! thanks a lot!