brainevent.jitumv_dt2t

Contents

brainevent.jitumv_dt2t#

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

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

structure is an optional connectivity from M.prepare_structure(); without it, prob and seed must be concrete. Works under jax.jit, jax.vmap and jax.grad.