brainpy.math.pre2post_coo_event_sum# brainpy.math.pre2post_coo_event_sum(events, pre_ids, post_ids, post_num, values=1.0)[source]# The pre-to-post synaptic computation with event-driven summation. Parameters: events (ArrayType) – The events, must be bool. pre_ids (ArrayType) – Pre-synaptic ids. post_ids (ArrayType) – Post-synaptic ids. post_num (int) – The number of post-synaptic group. values (float, ArrayType) – The value to make summation. Returns: out – A tensor with the shape of post_num. Return type: ArrayType