Number of neurons

How do we decide the no of neurons per layer and also the number of layers?

hey @nikhil_sarda ,
Deciding no.of neurons per layer and number of layers of a deep learning model is hyperparameter tuning task. There is no such rule to decide what should we choose . So to get such values of these so that our model performs good , we need to try various hits and tries over it. The one which suits the best is the one we choose for our model.

You can also make a custom function to run over various different values and find the one which suits the best from them.

I hope this would have helped you.
Thank You and Happy Learning :slightly_smiling_face:.