TensorFlow 2.0 Beta is available Learn more

Module: tf.keras

Aliases:

  • Module tf.compat.v1.keras
  • Module tf.keras

Defined in python/keras/api/_v1/keras/__init__.py.

Modules

activations module

applications module

backend module

callbacks module

constraints module

datasets module

estimator module

experimental module

initializers module

layers module

losses module

metrics module

mixed_precision module

models module

optimizers module

preprocessing module

regularizers module

utils module

wrappers module

Classes

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

class Sequential: Linear stack of layers.

Functions

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