megengine.Tensor.sum

Tensor.sum(axis=None, keepdims=False)

sum