-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
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
Compute exponential decays only once #231
Conversation
Why don't we do |
After discussing with @dee0512, I think that we need to add a |
@Hananel-Hazan |
If you are suggesting to also remove the line |
Nodes don't have a |
The problem with this is that different nodes have different decay variables. While all of them have A solution might be an additional method |
Yes, I agree @Huizerd. |
I agree too! Maybe make it a "private" function ( |
So while this would be the best solution to #229, the fact that
layer.dt
is only assigned after layer creation doesn't allow one to compute the exponential decay in the__init__
(as of now).https://github.com/Hananel-Hazan/bindsnet/blob/020ba619deeea61e9dcedaf5601037bdf2431bb8/bindsnet/network/__init__.py#L109
How would you prefer this to be solved?