Is the following the universal pytorch way to loop through model params:
for name, W in net.named_parameters():
    do(name,W)

are there other ways or thats the universal way to do it? Are all models most commonly just a net object instance?