完美解决 ValueError: Input 0 of layer gru_1 is incompatible with the layer: expected ndim=3,
文章目录一、我原来的程序二、报错三、完美的解决办法加上return_sequences=True,总结一、我原来的程序model=tf.keras.Sequential([tf.keras.layers.Input(shape=(train_features.shape[1],)),tf.keras.layers.Reshape((1,train_features.shape[1])),tf.ke