# tf_privacy.make_dp_model_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/keras_models/dp_keras_model.py#L25-L328) |

Given a subclass of [`tf.keras.Model`](https://www.tensorflow.org/api_docs/python/tf/keras/Model), returns a DP-SGD version of it.

    tf_privacy.make_dp_model_class(
        cls
    )