I used to use model.named_parameters in pytorch to get the model’s parameters and their names. I found the analogous in scvi
but I could not understand the provided example
for name, param in self.named_parameters():
if name in [‘bias’]:
I am not sure how to use it to get the parameters of the scVI model I am using. For example, I am calling the scVI model ‘MODEL’. How can I get the ‘MODEL’ parameters and their names?
Thanks in advance