Sir has specified the input shape for the first 3 layers, but there is no need to do that. We have to provide the input shape only for the first layer.
Specifying input shape for 1st 2nd and 3rd layer
Hey @raunaqsingh10, yes you are absolutely right, no need to specify it for further layers.
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts.