We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953068c commit 5e43ad2Copy full SHA for 5e43ad2
ngclearn/components/jaxComponent.py
@@ -37,7 +37,7 @@ def save(self, directory: str):
37
file_name = directory + "/" + self.name + ".npz"
38
data = {}
39
for comp_name, comp in self.compartments:
40
- if not comp.targeted:
+ if not comp.targeted and comp.auto_save:
41
data[comp_name] = comp.get()
42
jnp.savez(file_name, **data)
43
0 commit comments