# tf_privacy.make_gaussian_query_optimizer_class

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/privacy/blob/v0.9.0/privacy/privacy/optimizers/dp_optimizer_keras.py#L405-L471) |

Returns a differentially private optimizer using the `GaussianSumQuery`.

    tf_privacy.make_gaussian_query_optimizer_class(
        cls
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `cls` | `DPOptimizerClass`, the output of `make_keras_optimizer_class`. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A DP-SGD subclass of `cls` using the `GaussianQuery`, the canonical DP-SGD implementation. ||

<br />