Skip to content

Commit

Permalink
add a comment in tf/fedopt_ctl
Browse files Browse the repository at this point in the history
  • Loading branch information
falibabaei committed Nov 22, 2024
1 parent a183869 commit 37f5bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nvflare/app_opt/tf/fedopt_ctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def update_model(self, global_model: FLModel, aggr_result: FLModel):
specific set of Variables.
"""
# Get the Keras model stored in memory in persistor.
global_model_tf = self.persistor.model
global_params = global_model_tf.trainable_weights
num_trainable_weights = len(global_params)
Expand Down

0 comments on commit 37f5bb9

Please sign in to comment.