(self, state)
| 119 | super(AdamW, self).__init__(params, defaults) |
| 120 | |
| 121 | def __setstate__(self, state): |
| 122 | super(AdamW, self).__setstate__(state) |
| 123 | for group in self.param_groups: |
| 124 | group.setdefault('amsgrad', False) |
| 125 | |
| 126 | def get_second_moments(self): |
| 127 | return self.second_moments |
nothing calls this directly
no outgoing calls
no test coverage detected