    def _set_random_seed(self, seed):
        """Set random seed for all possible random modules."""
        random.seed(seed)
        np.random.seed(seed)
        torch.random.manual_seed(seed)
Set random seed for all possible random modules.
models/tts/base/tts_inferece.py