Return a copy of the optimizer object
(self)
| 31 | self.cur_step = 0 |
| 32 | |
| 33 | def copy(self): |
| 34 | """Return a copy of the optimizer object""" |
| 35 | return deepcopy(self) |
| 36 | |
| 37 | def set_params(self, hparam_dict=None, cache_dict=None): |
| 38 | """Set the parameters of the optimizer object from a dictionary""" |
nothing calls this directly
no outgoing calls
no test coverage detected