Module: tf.keras

TensorFlow 2.0 version View source on GitHub


  • Module tf.compat.v1.keras


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


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.