Change mask in RandomHorizontalFlip Transform

Pl. see if this answer helps with your question: