Could you explain your confusion or which tutorial makes you feel confused?



 Abo_Lamia:

I read that there’s no fixed formula to get number of layer and it’s based on trail and errors.


That’s more or less true. If you don’t have a specific architecture in mind, you could start with some “working” models and adapt the model for your use case.