Closed carlhopf closed 6 years ago
in Layer.js
this.nerons is a function, so this.neurons[id] = neuron will save neurons to this function's prototype and leak memory
this.nerons
this.neurons[id] = neuron
also see discussion https://github.com/cazala/synaptic/issues/164
in Layer.js
this.nerons
is a function, sothis.neurons[id] = neuron
will save neurons to this function's prototype and leak memoryalso see discussion https://github.com/cazala/synaptic/issues/164