tensorflow 输出层维度修改,关于return_sequences
def build_model():
NUM_MIDDLE_01 = 100
NUM_MIDDLE_02 = 120
model = Sequential()
model.add(LSTM(NUM_MIDDLE_01, input_shape=(train_x.shape[1], train_x.shape[2]) ,return_sequences=True))
# model.add(LSTM(NUM_MIDDLE_01, input_shape=(NUM_.
原创
2021-11-26 16:39:15 ·
1309 阅读 ·
0 评论