Center of rotation while using affine_grid

What is the centre of rotation used while transforming the 3D volume using the affine matrix in Pytorch? I’m using affine_grid followed by grid_sample.

Thanks,