diff --git a/src/brevitas/core/scaling/standalone.py b/src/brevitas/core/scaling/standalone.py index eb8f7778f..03d84a8a2 100644 --- a/src/brevitas/core/scaling/standalone.py +++ b/src/brevitas/core/scaling/standalone.py @@ -223,6 +223,7 @@ def state_dict(self, destination=None, prefix='', keep_vars=False): # Avoid saving the init value if not self.init_done: del output_dict[prefix + 'value'] + return output_dict def _load_from_state_dict( self, state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys,