Attention assignment, model summary mismatch

The deadlines here are fake, so don’t stress about those.

Funny, I just ended up seeing this same problem in Course 4 Week 2 in the Residual Net exercise. It turns out that model summary gets constructed based on the computational graph, so order can matter in the case that you have “skip” layers followed by an “Add” layer. In that case, since addition is commutative, you’d expect the order of the operands not to matter, but it does in terms of the order of the computation graph. Try looking for that situation in your code and experimenting with the order of operands.

Just for reference, here’s the other thread that discusses this type of issue in C4.