superneuromat.SNN.weight_mat#
- SNN.weight_mat(dtype=None)[source]#
Create a dense weight matrix from the synaptic weights.
This is used during
setup()
to create the internal weight matrix.- Parameters:
dtype (type | numpy.dtype, default=None) – The data type of the weight matrix. If None,
default_dtype
is used.- Return type:
np.ndarray[(num_neurons, num_neurons), dtype]