From c42353aae0cde351c5a75dfe7e22cae0359f45d1 Mon Sep 17 00:00:00 2001 From: Steve Chien Date: Mon, 29 Aug 2022 16:50:13 -0700 Subject: [PATCH] Internal test. PiperOrigin-RevId: 470846833 --- tensorflow_privacy/privacy/optimizers/dp_optimizer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow_privacy/privacy/optimizers/dp_optimizer.py b/tensorflow_privacy/privacy/optimizers/dp_optimizer.py index f0687b1a..a2164e1d 100644 --- a/tensorflow_privacy/privacy/optimizers/dp_optimizer.py +++ b/tensorflow_privacy/privacy/optimizers/dp_optimizer.py @@ -17,6 +17,8 @@ import tensorflow as tf from tensorflow_privacy.privacy.dp_query import gaussian_query +# Add a random comment for no reason. + def make_optimizer_class(cls): """Given a subclass of `tf.compat.v1.train.Optimizer`, returns a DP-SGD subclass of it.