Assume that I have a list with size=(8,64,1,60,60) and want to break it into (4,2,64,1,60,60) and then sum them up along axis 1. I tried the code below
size=(8,64,1,60,60)
(4,2,64,1,60,60)