You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
When this function is called, an input tag requesting a file appears on screen. When clicked, it opens a local file dialogue. Once the appropriate file is selected the dann data automatically uploads. The filename argument is not required for this version since the browser dialog takes care of it.
varname
The name of the variable that holds the dann model.
domID
The ID of the HTML element in which to place the <input> element. If left undefined, the <input> element is appended to the <body>.
callback
A function to be called when the model finished loading.
ex:
constnn=newDann();//opens a DOM file selectornn.load('nn',undefined,function(err){if(err){console.log('Error loading the Dann model');}else{console.log('Successfully loaded the Dann model');nn.log();}});