superneuromat.SNN.set_weights_from_mat# SNN.set_weights_from_mat(mat: ~numpy.ndarray[(<class 'int'>, <class 'int'>), None] | ~numpy.ndarray | ~scipy.sparse._csc.csc_array)[source]# Set the synaptic weights from a matrix. Parameters: mat (np.ndarray[(int, int), float] | np.ndarray | csc_array) – The matrix should have shape (num_neurons, num_neurons) and be indexed by mat[pre_id, post_id].