C4 W1 AS2 EX1: The layer has never been called and thus has no defined output shape

I recommend you search the forum for posts about “the layer has never been called”.

You will find threads like this one: