brainpy.math.segment_mean#

brainpy.math.segment_mean(data, segment_ids)[source]#

Computes the average along segments of a tensor.

See https://tensorflow.google.cn/api_docs/python/tf/math/segment_mean