mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-19 10:48:09 +08:00
minor fix in optimizer + docs (#1264)
This commit is contained in:
@@ -104,6 +104,7 @@ class Optimizer:
|
||||
|
||||
@state.setter
|
||||
def state(self, state: dict):
|
||||
self._initialized = True
|
||||
self._state = state
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user