View source on GitHub |
Returns a differentially private optimizer using the GaussianSumQuery
.
tf_privacy.make_keras_optimizer_class(
cls: Type[tf.keras.optimizers.Optimizer]
)
For backwards compatibility, we create this symbol to match the previous
output of make_keras_optimizer_class
but using the new logic.
Args | |
---|---|
cls
|
Class from which to derive a DP subclass. Should be a subclass of
tf.keras.optimizers.Optimizer .
|