I got this error. How can I fix it?
Hi @Masoumeh.sh
The comment on line 23 and 24 clearly stated to use global variable densor1 and densor2 for layer propagation. Both densor1 and densor2 have output dimensions and activation function specified, but the call to Dense() in your code does not have such provision.
Oh, you’re right. Thank you so much!