I have moved this post to the DLS Course 4 category as other learners taking the same course might benefit from this.
Kindly make sure if you have any course-specific queries, explore the specialization category and post in the relevant course subcategory as course-specific mentors are actively answering the queries there. The General Discussions category is not monitored by our mentors.
I’m not quite sure what you’re doing with the convolutional_block() function, but it appears that you’re ignored the provided code for “MAIN PATH”, not used the “filters” argument correctly, not used a shortcut path, and included your own Model statement which doesn’t belong there.
I’m going to delete the code from your post, so it doesn’t confuse future students (and it also breaks the course Honor Code).
If you’re still having problems with this function, please post back some questions and avoid including your code.