The line “P1(A1)” is wrong. Put the (A1) at the end of the previous line.
Similar with your A2(Z2), etc.
1 Like
Please have a look at this thread to get a clear explanation of how to use the Keras Sequential and Functional APIs.
1 Like
Thank you,very much!It’s work.
Oh,I didn’t look at it carefully.Thanks a lot.