Numpy max pooling. <ksize>: tuple of 2, kernel size in (ky, kx).