W3cubDocs

/TensorFlow 2.4

Module: tf.keras

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

Detailed documentation and user guides are available at tensorflow.org.

Modules

activations module: Built-in activation functions.

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

backend module: Keras backend API.

callbacks module: Callbacks: utilities called at certain points during model training.

constraints module: Constraints: functions that impose constraints on weight values.

datasets module: Public API for tf.keras.datasets namespace.

estimator module: Keras estimator API.

experimental module: Public API for tf.keras.experimental namespace.

initializers module: Keras initializer serialization / deserialization.

layers module: Keras layers API.

losses module: Built-in loss functions.

metrics module: Built-in metrics.

mixed_precision module: Keras mixed precision API.

models module: Code for model cloning, plus model-related API entries.

optimizers module: Built-in optimizer classes.

preprocessing module: Keras data preprocessing utils.

regularizers module: Built-in regularizers.

utils module: Public API for tf.keras.utils namespace.

wrappers module: Public API for tf.keras.wrappers namespace.

Classes

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

class Sequential: Sequential groups a linear stack of layers into a tf.keras.Model.

Functions

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

Other Members
version '2.4.0'

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/keras