Convolutional network tensorflow

I struggle to do CNN coding with tensorflow. I checked the repository but was still confused about all the statements

{moderator edit - solution code removed}

You don’t show the error message you are getting, but it looks like your syntax is incorrect there. In the Sequential case you are building a list of instantiated layers, so you need commas between the entries. But then in the Functional case, you don’t want the commas.

Please have a look at this thread, which gives a much more thorough explanation of the Sequential and Functional APIs than they give in the assignment and that should shed a lot more light on how to write the code here.

Also note that you filed this thread under DLS Course 2, but I used the little “edit pencil” on the title to move it to DLS C4.