dmlc / minpy

NumPy interface with mixed backend execution

Home Page:https://minpy.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minpy doesn't support astype function!!!

taichu012 opened this issue · comments

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!