I see. In that case I would modify the RandomCrop implementation and enable it to take the crop location. Then you can use it along with the Compose construct. The signature would be something like:
MyCrop(x,y,h,w)
RandomCrop is defined here https://github.com/pytorch/vision/blob/master/torchvision/transforms/transforms.py#L452 99