hi ptrblck
I had one doubt regarding model.parameters
Assuming my model has got sequence which in turn is list of modules
0 Sequential(
(0): Conv2d(3, 16, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=True)
(1): Relu()
(2): BatchNorm2d(16, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
)
1
Sequential(
(0): Conv2d(3, 16, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=True)
(1): Relu()
(2): BatchNorm2d(16, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
)
In this case if  i do
for i in model[0].parameters():
print(i)
How many time loop would be running  3 times (weight and bias of conv ,Batch norm parameters) or 4 times or more