Skip to content

Commit

Permalink
Init next tensors dict (#1293)
Browse files Browse the repository at this point in the history
Signed-off-by: Lerer, Eran <[email protected]>
  • Loading branch information
cloudnoize authored Jan 21, 2025
1 parent f18b685 commit 8104144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openfl/component/aggregator/aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ def _save_model(self, round_number, file_path):
]
tensor_dict = {}
tensor_tuple_dict = {}
next_round_tensors = {}
for tk in tensor_keys:
tk_name, _, _, _, _ = tk
tensor_value = self.tensor_db.get_tensor_from_cache(tk)
Expand Down

0 comments on commit 8104144

Please sign in to comment.