brainpy.connect.FixedTotalNum#

class brainpy.connect.FixedTotalNum(num, seed=None, **kwargs)[source]#

Connect the synaptic neurons with fixed total number.

Parameters
  • num (float,int) – The conn total number.

  • seed (int, optional) – The random number seed.

__init__(num, seed=None, **kwargs)[source]#

Methods

__init__(num[, seed])

build_conn()

build connections with certain data type.

build_coo()

Build a coo sparse connection data.

build_csr()

Build a csr sparse connection data.

build_mat()

Build a binary matrix connection data.

require(*structures)

Require all the connection data needed.

requires(*structures)

Require all the connection data needed.

Attributes

is_version2_style