training_done message emitted

This commit is contained in:
Kieran McAuliffe
2024-07-01 15:54:49 +02:00
committed by GitHub
parent 5ec1afe4b4
commit 621422979a

2
tf.js
View File

@@ -31,6 +31,8 @@ maxApi.addHandler("train", (epochs) => {
// Train the model using the data. // Train the model using the data.
model.fit(xs, ys, {epochs}); model.fit(xs, ys, {epochs});
maxApi.outlet("training_done");
}); });
maxApi.addHandler("dataPoint", (...data) => { maxApi.addHandler("dataPoint", (...data) => {