# Module: tf.keras

<br />

Public API for tf.keras namespace.

## Modules

[`activations`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/activations) module: Public API for tf.keras.activations namespace.

[`applications`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/applications) module: Public API for tf.keras.applications namespace.

[`backend`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/backend) module: Public API for tf.keras.backend namespace.

[`callbacks`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/callbacks) module: Public API for tf.keras.callbacks namespace.

[`constraints`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/constraints) module: Public API for tf.keras.constraints namespace.

[`datasets`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/datasets) module: Public API for tf.keras.datasets namespace.

[`estimator`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/estimator) module: Public API for tf.keras.estimator namespace.

[`experimental`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/experimental) module: Public API for tf.keras.experimental namespace.

[`initializers`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/initializers) module: Public API for tf.keras.initializers namespace.

[`layers`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/layers) module: Public API for tf.keras.layers namespace.

[`losses`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/losses) module: Public API for tf.keras.losses namespace.

[`metrics`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/metrics) module: Public API for tf.keras.metrics namespace.

[`mixed_precision`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/mixed_precision) module: Public API for tf.keras.mixed_precision namespace.

[`models`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/models) module: Public API for tf.keras.models namespace.

[`optimizers`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/optimizers) module: Public API for tf.keras.optimizers namespace.

[`preprocessing`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/preprocessing) module: Public API for tf.keras.preprocessing namespace.

[`regularizers`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/regularizers) module: Public API for tf.keras.regularizers namespace.

[`utils`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/utils) module: Public API for tf.keras.utils namespace.

## Classes

[`class Model`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/Model): `Model` groups layers into an object with training and inference features.

[`class Sequential`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/Sequential): `Sequential` groups a linear stack of layers into a [`tf.keras.Model`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/Model).

## Functions

[`Input(...)`](https://www.tensorflow.org/versions/r2.7/api_docs/python/tf/keras/Input): `Input()` is used to instantiate a Keras tensor.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| **version** | `'2.7.0'` |

<br />