- class brainpy.connect.All2All(*args, include_self=True, **kwargs)#
Connect each neuron in first group to all neurons in the post-synaptic neuron groups. It means this kind of conn will create (num_pre x num_post) synapses.
Build a binary matrix connection data.
If users want to customize their connections, please provide one of the following functions:
build_mat(): build a matrix binary connection matrix.
build_csr(): build a csr sparse connection data.
build_coo(): build a coo sparse connection data.
conn – A binary matrix with the shape
- Return type: