Where is __str__ and __repr__ methods in torch.optim.Optimizer

This __repr__ method should be used.

1 Like