mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-20 03:48:15 +08:00
fix module attribute set, reset, set (#1403)
This commit is contained in:
@@ -112,6 +112,7 @@ class Module(dict):
|
||||
self[key] = val
|
||||
else:
|
||||
super(Module, self).__setattr__(key, val)
|
||||
self.pop(key, None)
|
||||
|
||||
def load_weights(
|
||||
self,
|
||||
|
Reference in New Issue
Block a user