synaptic icon indicating copy to clipboard operation
synaptic copied to clipboard

Multiple neurons gating the same connection

Open wagenaartje opened this issue 8 years ago • 1 comments

I'm not really familiar with LSTM's. However I thought I saw something odd:

//  update gated connection's gains
for (var connection in this.connections.gated) {
  this.connections.gated[connection].gain = this.activation;
}

See neuron.js (line 104)

So basically, when a neuron is activated, it will set all it's gated connections gains to its activation value - seems ok.

But what if 2 neurons gate the same connection? After an activation, the gain of a connection will bet set to one of these two neurons (depending on activation order). Does this mean that multiple neurons gating the same connection us useless?

wagenaartje avatar Apr 12 '17 13:04 wagenaartje

Yes, the latter activation will be used as the gain

cazala avatar May 22 '17 13:05 cazala