code: def forward(self, text: str):
      wav = None
      input_ids = self.frontend.get_input_ids(
          text, merge_sentences=True
      )
      phone_ids = input_ids["phone_ids"]
      for part_phone_ids in phone_ids:
          with paddle.no_grad():
              mel = self.fastspeech2_inference(part_phone_ids)
              temp_wav = self.pwg_inference(mel)
              if wav is None:
                  wav = temp_wav
              else:
                  wav = paddle.concat([wav, temp_wav])
      return wav
  
file_path: PaddleHub/modules/text/punctuation_restoration/auto_punc/module.py
imports: import os
  import re
  from typing import List, Union
  import numpy
  import paddle
  from paddlehub.env import MODULE_HOME
  from paddlehub.module.module import moduleinfo, serving
  from paddlehub.utils.log import logger
  from paddlenlp.transformers import ErnieTokenizer, ErnieForTokenClassification
  from paddlenlp.data import Pad
label_desc: Use image node_id 4 for calling the Ernie obj's underlying member method code with example usage: obj.forward(text) and returns: wav