Module: tf.keras

中恒配资网Implementation of the Keras API meant to be a high-level API for TensorFlow.


  • Module tf.compat.v2.keras

Detailed documentation and user guides are available at .


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: Keras built-in datasets.

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: Public API for tf.keras.mixed_precision namespace.

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: 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.

results matching ""

    No results matching ""