diff options
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); + } +} + +}; |
