From 398d1d052fd632ef0e11430145013afaac05459a Mon Sep 17 00:00:00 2001 From: Nicolas Papernot Date: Mon, 14 Jan 2019 10:54:49 -0800 Subject: [PATCH] Closes #4 PiperOrigin-RevId: 229212766 --- privacy/optimizers/dp_optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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