if you are starting with a uint8 type and you don't want to deal with type ... In [10]: x = np.array([0, 128, 255], dtype=np.uint8) + ...
確定! 回上一頁