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

I am getting error Incompatible shapes: [1150,64] vs. [1150] [Op:SquaredDifference]

Please read this topic