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
When passing brainpy.conn.All2All(include_self=False) into brainpy.synapses.AMPA class, the include_self=False flag seems to be silently ignored.
brainpy.conn.All2All(include_self=False)
brainpy.synapses.AMPA
include_self=False
Running the following code:
import brainpy as bp E = bp.neurons.HH(size=4) Synapse = bp.synapses.AMPA(E, E, bp.conn.All2All(include_self=False)) print(Synapse.conn.include_self) print(Synapse.comm.include_self)
outputs:
False True
And it seems that when computing the synaptic current, setting include_self to True or False makes no difference.
include_self
True
False
The text was updated successfully, but these errors were encountered:
Thank you for your report. This is a bug.
The error is caused by the following line, which does not initialize a correct AllToAll connection.
AllToAll
BrainPy/brainpy/_src/dynold/synapses/base.py
Line 306 in 0277bd5
Sorry, something went wrong.
aadf8ae
Merge pull request #467 from brainpy/doc
aead878
fix #466
No branches or pull requests
When passing
brainpy.conn.All2All(include_self=False)
intobrainpy.synapses.AMPA
class, theinclude_self=False
flag seems to be silently ignored.Running the following code:
outputs:
And it seems that when computing the synaptic current, setting
include_self
toTrue
orFalse
makes no difference.The text was updated successfully, but these errors were encountered: