From b4c345e6a5fa929ba20eac19183b9c777055f52d Mon Sep 17 00:00:00 2001 From: Gaspard Coulet Date: Wed, 28 Apr 2021 23:12:36 +0200 Subject: Initial commit --- javascript_network/layer.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 javascript_network/layer.js (limited to 'javascript_network/layer.js') 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