Incompatible shapes: [1150,32] vs. [1150] [Op:SquaredDifference]

Just saw your notebook. There’s one thing you’ve taken for granted. See this post to understand the meaning of return_sequences. Why did you set it?