Solved by KFrank in post #5 
              
              
                Hi Iram! 

Looking at an object’s __dict__ property is often a good way to 
probe all of its properties.  So start with: 
>>> import torch
>>> torch.__version__
'1.9.0'
>>> opt = torch.optim.Adam ([torch.randn (3, requires_grad = True)])
>>> opt.__dict__
{'defaults': {'lr': 0.001, 'betas': (0.9, 0.9…