Code not running


I’ve checked my code and the input shape is okay but I keep getting this error

I’m adding my code here because I haven’t gotten a response yet. Anybody can respond to this.