MCPcopy Create free account
hub / github.com/BrainJS/brain.js / compare

Function compare

test/recurrent/rnn.js:367–373  ·  view source on GitHub ↗
(left, right)

Source from the content-addressed store, hash-verified

365 compare(json.outputConnector, net.model.outputConnector);
366
367 function compare(left, right) {
368 left.weights.forEach((value, i) => {
369 assert.equal(value, right.weights[i]);
370 });
371 assert.equal(left.rows, right.rows);
372 assert.equal(left.columns, right.columns);
373 }
374 });
375 });
376

Callers 1

rnn.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected