Week 3 Neural MT Assertion Error

I’m not sure why the order of my input layer is getting swapped and it’s causing the assertion error for non-matching input layer. Can someone please help? I’m stuck with this for 2 days now.

Did you modify any of the code in modelf() above the “### START CODE HERE ###” banner?

No, I didn’t. I have been trying to get my head around this for a while.

(edited - and padded to 20 chars)