why not just `w.sum(axis)` ?