a = 1.0 1.0 5.0 2.0 2.0 6.0 3.0 3.0 7.0 4.0 4.0 8.0 Sum along the first dimension = 10.0 10.0 26.0 Sum along the second dimension = 7.0 10.0 13.0 16.0 Maximum along the first dimension = 4.0 4.0 8.0 Maximum along the second dimension = 5.0 6.0 7.0 8.0 Minimum along the first dimension = 1.0 1.0 5.0 Minimum along the second dimension = 1.0 2.0 3.0 4.0 Circular Shift up 2 along the 1st dimension = 3.0 4.0 1.0 2.0 3.0 4.0 1.0 2.0 7.0 8.0 5.0 6.0 Circular shift up 1 along the 2nd dimension = 5.0 6.0 7.0 8.0 1.0 2.0 3.0 4.0 1.0 2.0 3.0 4.0