brainevent.jitsmv_dt2t

Contents

brainevent.jitsmv_dt2t#

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

Generate per-synapse y * w values for a scalar 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.