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.outlet("training_done");
|
||||||
});
|
});
|
||||||
|
|
||||||
maxApi.addHandler("dataPoint", (...data) => {
|
maxApi.addHandler("data_point", (...data) => {
|
||||||
data.map((item) => parseFloat(item));
|
data.map((item) => parseFloat(item));
|
||||||
xsArr.push(data.slice(0, inputShape));
|
xsArr.push(data.slice(0, inputShape));
|
||||||
ysArr.push(data.slice(inputShape));
|
ysArr.push(data.slice(inputShape));
|
||||||
|
@ -479,8 +479,8 @@
|
|||||||
"numinlets" : 1,
|
"numinlets" : 1,
|
||||||
"numoutlets" : 1,
|
"numoutlets" : 1,
|
||||||
"outlettype" : [ "" ],
|
"outlettype" : [ "" ],
|
||||||
"patching_rect" : [ 204.0, 215.0, 107.0, 22.0 ],
|
"patching_rect" : [ 204.0, 215.0, 112.0, 22.0 ],
|
||||||
"text" : "prepend dataPoint"
|
"text" : "prepend data_point"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user