CSRLinear#
- class brainpy.dnn.CSRLinear(conn, weight, sharding=None, mode=None, name=None, method='cusparse', transpose=True)[source]#
Synaptic matrix multiplication with CSR sparse computation.
It performs the computation of:
\[y = x @ M\]where \(y\) is the postsynaptic value, \(x\) the presynaptic value, \(M\) the synaptic weight using a CSR sparse matrix.
- Parameters: