>>> np.sum(a, axis=(0,2), keepdims=True) array([[[ 60], [ 92], [124]]]) r