Constructors
constructor
- new CallbackList(callbacks?, queueLength?): CallbackList
Parameters
Optional
callbacks: BaseCallback[]
Optional
queueLength: number
Methods
onBatchBegin
- onBatchBegin(batch, logs?): Promise<void>
Parameters
batch: number
Optional
logs: UnresolvedLogs
Returns Promise<void>
onBatchEnd
- onBatchEnd(batch, logs?): Promise<void>
Parameters
batch: number
Optional
logs: UnresolvedLogs
Returns Promise<void>
onEpochBegin
- onEpochBegin(epoch, logs?): Promise<void>
Parameters
epoch: number
Optional
logs: UnresolvedLogs
Returns Promise<void>
onEpochEnd
- onEpochEnd(epoch, logs?): Promise<void>
Parameters
epoch: number
Optional
logs: UnresolvedLogs
Returns Promise<void>
onTrainBegin
- onTrainBegin(logs?): Promise<void>
Parameters
Optional
logs: UnresolvedLogs
Returns Promise<void>
onTrainEnd
- onTrainEnd(logs?): Promise<void>
Parameters
Optional
logs: UnresolvedLogs
Returns Promise<void>
Container abstracting a list of callbacks.