Removed useless load function
This commit is contained in:
parent
f4ef5ffcbc
commit
eeadfbdd38
7
tf.js
7
tf.js
@ -110,13 +110,6 @@ function loadWeights(dict){
|
||||
|
||||
maxApi.addHandler("set_weights", loadWeights);
|
||||
|
||||
|
||||
maxApi.addHandler("load", (dictId, key) => {
|
||||
maxApi.getDict(dictId).then((dict) => {
|
||||
loadWeights(dict[key]);
|
||||
});
|
||||
});
|
||||
|
||||
maxApi.addHandler("dump_weights", () => {
|
||||
getJson().then((json) => {maxApi.outlet("weights", json);});
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user