Hi Ronish!



 Rjacob:

How would be able to write say a for loop which will repeat the hidden layers multiple times ?


You can use a loop to insert your desired layers into a python
OrderedDict and then construct your Sequential by passing
in that OrderedDict as a single constructor argument (rather than
passing in all of the layers as individual constructor arguments).
Best.
K. Frank