MCPcopy
hub / github.com/tensorflow/tfjs / onTrainBegin

Method onTrainBegin

tfjs-layers/src/base_callbacks.ts:295–298  ·  view source on GitHub ↗
(logs?: UnresolvedLogs)

Source from the content-addressed store, hash-verified

293 history: {[key: string]: Array<number|Tensor>};
294
295 override async onTrainBegin(logs?: UnresolvedLogs) {
296 this.epoch = [];
297 this.history = {};
298 }
299
300 override async onEpochEnd(epoch: number, logs?: UnresolvedLogs) {
301 if (logs == null) {

Callers 5

onTrainBeginMethod · 0.45
callbacks_test.tsFile · 0.45
fitLoopMethod · 0.45
fitDatasetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected