From 016989874c9be3d61080a6fd1396e11fa5feeee1 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 28 Mar 2016 20:06:49 +0200 Subject: first working version --- index.js | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 index.js (limited to 'index.js') diff --git a/index.js b/index.js new file mode 100644 index 0000000..8c6f14e --- /dev/null +++ b/index.js @@ -0,0 +1,177 @@ +function drawNodes(nodes, netSpec, designSpec, env) { + var cnt = 0; + var biasLayers = 0; + for (layer=0; layer= maxEpoch) { + currEpoch = 0; + console.log("batch " + currBatch.toString()); + if (++currBatch >= maxBatch) { + currBatch = 0; + return; // stop + } + } + setTimeout(animate, frameDuration); +} -- cgit v1.3.1