We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Considering the original behavior of a neuron, Shouldn't the membrane potential decay after a reset?
To maintain the existing code as much as possible, the issue can be fixed as follows.
Original:
def base_sub(self, input): return self.base_state_function(input) - self.reset * self.threshold
Modified:
def base_sub(self, input): return self.base_state_function(input) - self.beta.clamp(0, 1) * self.reset * self.threshold
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Considering the original behavior of a neuron,
Shouldn't the membrane potential decay after a reset?
To maintain the existing code as much as possible,
the issue can be fixed as follows.
Original:
def base_sub(self, input):
return self.base_state_function(input) - self.reset * self.threshold
Modified:
def base_sub(self, input):
return self.base_state_function(input) - self.beta.clamp(0, 1) * self.reset * self.threshold
The text was updated successfully, but these errors were encountered: