diff --git a/privacy/optimizers/dp_optimizer.py b/privacy/optimizers/dp_optimizer.py index 138856d..58d9c55 100644 --- a/privacy/optimizers/dp_optimizer.py +++ b/privacy/optimizers/dp_optimizer.py @@ -89,7 +89,7 @@ def make_optimizer_class(cls): self._private_query.get_noised_average(final_state, self._global_state)) - return zip(final_grads, var_list) + return list(zip(final_grads, var_list)) return DPOptimizerClass