Forgot to mention that the patches are sliced in the data loader here: https://github.com/wolny/pytorch-3dunet/blob/master/datasets/hdf5.py#L13 6
Its simple indexing of the volume using the given stride.