我想知道numpy 如何从float32 转换为float16,因为当我使用astype 将一些 ... import numpy as np a = np.array([8193], dtype=np.float32) b = a.astype(np.float16).
確定! 回上一頁