Matrix Operations#
COO Operations#
Binary matrix-vector / matrix-matrix multiplication.
Perform event-driven COO sparse matrix-vector multiplication. |
|
Low-level XLA custom-kernel primitive for |
|
Perform event-driven COO sparse matrix-matrix multiplication. |
|
Low-level XLA custom-kernel primitive for |
Float matrix-vector / matrix-matrix multiplication.
Perform COO sparse matrix-vector multiplication. |
|
Low-level XLA custom-kernel primitive for |
|
Perform COO sparse matrix-matrix multiplication. |
|
Low-level XLA custom-kernel primitive for |
Plasticity operations.
Update synaptic weights in COO format driven by presynaptic spike events. |
|
Update synaptic weights in COO format driven by postsynaptic spike events. |
|
Low-level XLA custom-kernel primitive for |
|
Low-level XLA custom-kernel primitive for |
CSR Operations#
Binary matrix-vector / matrix-matrix multiplication.
Product of a CSR sparse matrix and a dense vector using event-driven (binary) computation. |
|
Low-level XLA custom-kernel primitive for |
|
Product of a CSR sparse matrix and a dense matrix using event-driven (binary) computation. |
|
Low-level XLA custom-kernel primitive for |
Float matrix-vector / matrix-matrix multiplication.
Product of a CSR sparse matrix and a dense vector. |
|
Low-level XLA custom-kernel primitive for |
|
Product of a CSR sparse matrix and a dense matrix. |
|
Low-level XLA custom-kernel primitive for |
|
Element-wise product of a vector and CSR weights, indexed by CSR structure. |
|
Low-level XLA custom-kernel primitive for |
Plasticity operations.
Update CSR synaptic weights triggered by presynaptic binary spike events. |
|
Low-level XLA custom-kernel primitive for |
|
Update CSR synaptic weights triggered by postsynaptic binary spike events. |
|
Low-level XLA custom-kernel primitive for |
Sparse linear solver.
Row slicing.
Extract selected rows from a CSR matrix as a dense submatrix. |
|
Low-level XLA custom-kernel primitive for |
Dense Operations#
Dense-matrix @ binary-vector / binary-matrix.
Perform event-driven dense matrix-vector multiplication with binary spikes. |
|
Low-level XLA custom-kernel primitive for |
|
Perform event-driven dense matrix-matrix multiplication with binary spikes. |
|
Low-level XLA custom-kernel primitive for |
Indexed binary operations.
Plasticity operations.
Update synaptic weights based on presynaptic spike events and postsynaptic traces. |
|
Low-level XLA custom-kernel primitive for |
|
Update synaptic weights based on postsynaptic spike events and presynaptic traces. |
|
Low-level XLA custom-kernel primitive for |
JITC Scalar Operations#
Binary matrix-vector / matrix-matrix multiplication.
Perform the \(y=M@v\) or \(y=M.T@v\) operation, where \(M\) is just-in-time randomly generated with a scalar weight at each position. |
|
Low-level XLA custom-kernel primitive for |
|
Perform the \(y=M@B\) or \(y=M.T@B\) operation, where \(M\) is just-in-time randomly generated with a scalar weight at each position. |
|
Low-level XLA custom-kernel primitive for |
Float matrix-vector / matrix-matrix multiplication.
Generate a homogeneous sparse random matrix on-the-fly. |
|
Low-level XLA custom-kernel primitive for |
|
Perform the \(y=M@v\) or \(y=M.T@v\) operation, where \(M\) is just-in-time randomly generated with a scalar weight at each position. |
|
Low-level XLA custom-kernel primitive for |
|
Perform the \(y=M@B\) or \(y=M.T@B\) operation, where \(M\) is just-in-time randomly generated with a scalar weight at each position. |
|
Low-level XLA custom-kernel primitive for |
JITC Normal Operations#
Binary matrix-vector / matrix-matrix multiplication.
Event-driven matrix-vector multiplication with a JIT normal-distributed connectivity matrix. |
|
Low-level XLA custom-kernel primitive for |
|
|
Event-driven matrix-matrix multiplication with a JIT normal-distributed connectivity matrix. |
Low-level XLA custom-kernel primitive for |
Float matrix-vector / matrix-matrix multiplication.
Materialise a JIT normally-distributed random connectivity matrix. |
|
Low-level XLA custom-kernel primitive for |
|
JIT normally-distributed matrix-vector product. |
|
Low-level XLA custom-kernel primitive for |
|
JIT normally-distributed matrix-matrix product. |
|
Low-level XLA custom-kernel primitive for |
JITC Uniform Operations#
Binary matrix-vector / matrix-matrix multiplication.
Event-driven matrix-vector product with a JIT uniform connectivity matrix. |
|
Low-level XLA custom-kernel primitive for |
|
Event-driven matrix-matrix product with a JIT uniform connectivity matrix. |
|
Low-level XLA custom-kernel primitive for |
Float matrix-vector / matrix-matrix multiplication.
Materialize a JIT uniform connectivity matrix as a dense array. |
|
Low-level XLA custom-kernel primitive for |
|
Float matrix-vector product with a JIT uniform connectivity matrix. |
|
Low-level XLA custom-kernel primitive for |
|
Float matrix-matrix product with a JIT uniform connectivity matrix. |
|
Low-level XLA custom-kernel primitive for |
Fixed Connectivity Operations#
Binary matrix-vector / matrix-matrix multiplication.
Event-driven sparse matrix--vector product with fixed connection number. |
|
Low-level XLA custom-kernel primitive for |
|
Event-driven sparse matrix--matrix product with fixed connection number. |
|
Low-level XLA custom-kernel primitive for |
Float matrix-vector / matrix-matrix multiplication.