-
Notifications
You must be signed in to change notification settings - Fork 16
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
RNG & seeding #142
Comments
I think regarding the RNGs it is indeed a case of historic sequence. I see no reason not to use GeNN built-in RNGs. It would likely be more efficient. |
So, Brian2GeNN's RNG functionality predates |
I see. In that case, I'll probably hack something in just to cover my particular case in a draft, and if there's a lot more to do, I'll let the GSoC cavalry clean it up properly. |
Though we do not know yet whether we will be getting a student for it I am afraid. But we can always clean up ourselves if needed. |
I notice that GeNN has RNG capabilities (
$(gennrand_uniform)
etc.) that are not being used; random number generation is instead done by a support code function (defined ingenn_generator.py
lines 350~390). I also notice that usingseed(...)
raises a NotImplementedError when used in conjunction with brian2genn. Three questions:rand()
,randn()
in brian2 code to GeNN's builtins?Happy to work on this if it's considered a valuable feature.
The text was updated successfully, but these errors were encountered: