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

Function onTrainBegin

lstm-text-generation/ui.js:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 * A function to call when a training process starts.
70 */
71export function onTrainBegin() {
72 batchLossValues = [];
73 epochLossValues = [];
74 logStatus('Starting model training...');
75}
76
77/**
78 * A function to call when a batch is competed during training.

Callers 1

fitModelMethod · 0.90

Calls 1

logStatusFunction · 0.70

Tested by

no test coverage detected