» 케라스 API / Callbacks API / Base Callback class

Base Callback class

Callback class

tf.keras.callbacks.Callback()

Abstract base class used to build new callbacks.

Attributes

  • params: Dict. Training parameters (eg. verbosity, batch size, number of epochs...).
  • model: Instance of keras.models.Model. Reference of the model being trained.

The logs dictionary that callback methods take as argument will contain keys for quantities relevant to the current batch or epoch (see method-specific docstrings).