dataPoint renamed to data_point

This commit is contained in:
trian-gles 2024-07-02 09:18:48 +02:00
parent ebecddde75
commit f4ef5ffcbc
2 changed files with 3 additions and 3 deletions

2
tf.js
View File

@ -35,7 +35,7 @@ maxApi.addHandler("train", (epochs) => {
maxApi.outlet("training_done");
});
maxApi.addHandler("dataPoint", (...data) => {
maxApi.addHandler("data_point", (...data) => {
data.map((item) => parseFloat(item));
xsArr.push(data.slice(0, inputShape));
ysArr.push(data.slice(inputShape));

View File

@ -479,8 +479,8 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 204.0, 215.0, 107.0, 22.0 ],
"text" : "prepend dataPoint"
"patching_rect" : [ 204.0, 215.0, 112.0, 22.0 ],
"text" : "prepend data_point"
}
}