diff --git a/tensorflow_privacy/privacy/bolt_on/optimizers_test.py b/tensorflow_privacy/privacy/bolt_on/optimizers_test.py index 01341a7..b7227cf 100644 --- a/tensorflow_privacy/privacy/bolt_on/optimizers_test.py +++ b/tensorflow_privacy/privacy/bolt_on/optimizers_test.py @@ -151,7 +151,7 @@ class TestOptimizer(OptimizerV2): self.iterations = tf.constant(1, dtype=tf.float32) self._iterations = tf.constant(1, dtype=tf.float32) - def _compute_gradients(self, loss, var_list, grad_loss=None): + def _compute_gradients(self, loss, var_list, grad_loss=None, tape=None): return 'test' def get_config(self):