Container abstracting a list of callbacks.

Constructors

  • Constructor of CallbackList.

    Parameters

    • Optional callbacks: BaseCallback[]

      Array of Callback instances.

    • Optional queueLength: number

      Queue length for keeping running statistics over callback execution time.

    Returns CallbackList

Methods

  • Called right before processing a batch.

    Parameters

    • batch: number

      Index of batch within the current epoch.

    • Optional logs: UnresolvedLogs

      Dictionary of logs.

    Returns Promise<void>

  • Called at the end of a batch.

    Parameters

    • batch: number

      Index of batch within the current epoch.

    • Optional logs: UnresolvedLogs

      Dictionary of logs.

    Returns Promise<void>

  • Called at the start of an epoch.

    Parameters

    • epoch: number

      Index of epoch.

    • Optional logs: UnresolvedLogs

      Dictionary of logs.

    Returns Promise<void>

  • Called at the end of an epoch.

    Parameters

    • epoch: number

      Index of epoch.

    • Optional logs: UnresolvedLogs

      Dictionary of logs.

    Returns Promise<void>

  • Called at the beginning of training.

    Parameters

    • Optional logs: UnresolvedLogs

      Dictionary of logs.

    Returns Promise<void>

  • Called at the end of training.

    Parameters

    • Optional logs: UnresolvedLogs

      Dictionary of logs.

    Returns Promise<void>

Generated using TypeDoc