Show / Hide Table of Contents

Class Callback

Abstract base class used to build new callbacks. The logs dictionary that callback methods take as argument will contain keys for quantities relevant to the current batch or epoch. Currently, the.fit() method of the Sequential model class will include the following quantities in the logs that it passes to its callbacks: on_epoch_end: logs include acc and loss, and optionally include val_loss(if validation is enabled in fit), and val_acc(if validation and accuracy monitoring are enabled). on_batch_begin: logs include size, the number of samples in the current batch.on_batch_end: logs include loss, and optionally acc(if accuracy monitoring is enabled).

Inheritance
System.Object
Keras
Base
Callback
BaseLogger
CSVLogger
EarlyStopping
History
LearningRateScheduler
ModelCheckpoint
ProgbarLogger
ReduceLROnPlateau
RemoteMonitor
TensorBoard
TerminateOnNaN
Implements
System.IDisposable
Inherited Members
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Callbacks
Assembly: Keras.dll
Syntax
public class Callback : Base, IDisposable

Constructors

| Improve this Doc View Source

Callback()

Initializes a new instance of the Callback class.

Declaration
public Callback()

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX