def METHOD_NAME(self, data):
    with torch.no_grad():
        input_lengths = torch.IntTensor([data.size(1)]).to(
            device=self.device, dtype=torch.int64
        )
        mel, _, _ = self.tacotron2_model.infer(data, input_lengths)
        audio = self.waveglow_model.infer(mel)
        return audio