diff options
| author | Gaspard Coulet <gaspard.coulet@mines-ales.org> | 2021-04-28 23:12:36 +0200 |
|---|---|---|
| committer | Gaspard Coulet <gaspard.coulet@mines-ales.org> | 2021-04-28 23:12:36 +0200 |
| commit | b4c345e6a5fa929ba20eac19183b9c777055f52d (patch) | |
| tree | 23a0232f2526c5ab7f53391609a8a0a5960865f0 /javascript_network/layer.js | |
Initial commit
Diffstat (limited to 'javascript_network/layer.js')
| -rw-r--r-- | javascript_network/layer.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/javascript_network/layer.js b/javascript_network/layer.js new file mode 100644 index 0000000..ab23bd6 --- /dev/null +++ b/javascript_network/layer.js @@ -0,0 +1,16 @@ +var layer=function(x,y,nbN,nbI,nbO){ + console.log(windowHeight) + this.x=x; + this.y=y; + this.nbNeurons = nbN; + this.nbI=nbI; + this.nbO=nbO; + this.tabNeurones =[]; + + this.show=function(et){ + for(var i=0;i<this.nbNeurons;i++){ + this.tabNeurones[i].show(et); + } +} + +}; |
