code_4.py 182 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2
X_train = np.expand_dims(X_train, axis=2) # 张量升阶, 以满足序列数据集的要求
X_test = np.expand_dims(X_test, axis=2) # 张量升阶, 以满足序列数据集的要求