Skip to content

Commit

Permalink
fix(framework) Fix local DP param noising (#4677)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadnaseri authored Dec 12, 2024
1 parent e3c97f0 commit 18634ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/flwr/client/mod/localdp_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __call__(
fit_res.parameters = ndarrays_to_parameters(client_to_server_params)

# Add noise to model params
add_localdp_gaussian_noise_to_params(
fit_res.parameters = add_localdp_gaussian_noise_to_params(
fit_res.parameters, self.sensitivity, self.epsilon, self.delta
)

Expand Down

0 comments on commit 18634ac

Please sign in to comment.