If you have a list of lists, you only needed to use ... import numpy as np ... npa = np.asarray(someListOfLists, dtype=np.float32).
確定! 回上一頁