下面是我写的代码:from keras.callbacks import History # Create model - 3 layers.to number of intents to predict output intent with softmaxmodel.add(LSTM(128, input_shape: ValueError:层lstm_21的输入0与层不兼容:期望的ndim=3,找到ndim=2
我是深度学习的新手,我正尝试使用Google Colab在Keras中创建这个简单的LSTM架构:
input_shape=train_x.shape[1:]ValueError: Input 0 is incompatible with layer lstm_1: expectedoffer_Offer'])
tra