{moderator edit - solution code removed}
‘ZeroPadding2D’ object has no attribute ‘output_shape’
Your code looks correct (although please note that we are not supposed to publish solution code in a public way), so there must be something wrong at a higher level. For example maybe you modified the definition of tfl from the one that they gave you. Or you’ve modified the template code for that function outside the “YOUR CODE HERE” section. It could also be that the runtime state of the notebook is confused.
One easy experiment to try is:
Kernel -> Restart and Clear Output
Save
Cell -> Run All
Then check the output of that cell and see if it is still throwing an error. Let us know if the above suggestions don’t shed any further light.