Module: tf.keras

Defined in tensorflow/python/keras/

Implementation of the Keras API meant to be a high-level API for TensorFlow.

Detailed documentation and user guides are available at


activations module: Keras built-in activation functions.

applications module: Keras Applications are canned architectures with pre-trained weights.

backend module: Keras backend API.

callbacks module: Keras callback classes.

constraints module: Keras built-in constraints functions.

datasets module: Keras built-in datasets.

estimator module: Keras estimator API.

initializers module: Keras built-in initializers.

layers module: Keras layers API.

losses module: Keras built-in loss functions.

metrics module: Keras built-in metrics functions.

models module: Keras models API.

optimizers module: Keras built-in optimizers.

preprocessing module: Keras data preprocessing utils.

regularizers module: Keras built-in regularizers.

utils module: Keras utilities.

wrappers module: Wrappers for Keras models, providing compatibility with other frameworks.


class Model: Model groups layers into an object with training and inference features.

class Sequential: Linear stack of layers.


Input(...): Input() is used to instantiate a Keras tensor.

Other Members