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 1842d4d commit 5b624ceCopy full SHA for 5b624ce
keras/src/layers/layer.py
@@ -1440,9 +1440,8 @@ def _load_quantized_variables(self, store):
1440
# Load non-quantized variables
1441
all_vars = self._trainable_variables + self._non_trainable_variables
1442
non_quantized_vars = [
1443
- v for v in all_vars if v not in quantized_vars and v.trainable
+ v for v in all_vars if v not in quantized_vars
1444
]
1445
- for i, v in enumerate(non_quantized_vars):
1446
v.assign(store[f"{i}"])
1447
1448
def _track_variable(self, variable):
0 commit comments