Pytorch transform bounding box.