LSTM 输入层要求的维度是三维的,其中包含三个参数:batch_size, input_dim和time_step。 隐含层有一个参数:n_hidden。 输出层有两个参数:n_hidden和output_dim。