python 读取 Variable

import numpy as np

生成数据

x = np.arange(9).reshape(3, 3)

数据保存

np.save(‘save_x’, x)

读取保存的数据

seq = np.load(‘save_x.npy’)`

猜你喜欢

转载自blog.csdn.net/qq_42676042/article/details/107415267