clean grad cache
(self)
| 449 | """ |
| 450 | |
| 451 | def zero_grad(self): |
| 452 | """clean grad cache""" |
| 453 | self._clean_grad = True |
| 454 | |
| 455 | def state_dict(self, **kwargs): # pylint: disable=unused-argument |
| 456 | """Return a copy of the whole optimizer states stored in CPU memory. |
no outgoing calls