dataPoint renamed to data_point
This commit is contained in:
parent
ebecddde75
commit
f4ef5ffcbc
2
tf.js
2
tf.js
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user