brainevent.jitumv_dt2t

Contents

brainevent.jitumv_dt2t#

brainevent.jitumv_dt2t(w_low, w_high, prob, y, seed, *, shape, transpose=False, corder=True, backend=None)[source]#

Generate per-synapse y * w values for a uniform JITC matrix.

The result is a flat vector of length nnz in the same order as jitu_to_csr(...).data. The output equals csr.dt2t(y, csr.data) when transpose=False and csr.dt2t_transposed(y, csr.data) when transpose=True, without first materialising the CSR weight data.