code: def build_default_vocoder(self):
      from fairseq.models.text_to_speech.vocoder import get_vocoder
  
      vocoder = get_vocoder(self.args, self.data_cfg)
      if torch.cuda.is_available() and not self.args.cpu:
          vocoder = vocoder.cuda()
      else:
          vocoder = vocoder.cpu()
      return vocoder
  
imports: import logging
  import os
  import os.path
  import torch
  import torch.nn.functional
  import numpy
  from fairseq.data.audio.text_to_speech_dataset import TextToSpeechDatasetCreator
  from fairseq.tasks import register_task
  from fairseq.tasks.speech_to_text import SpeechToTextTask
  from fairseq.speech_generator import AutoRegressiveSpeechGenerator, NonAutoregressiveSpeechGenerator, TeacherForcingAutoRegressiveSpeechGenerator
label_desc: Use image node_id 10 for calling the TextToSpeechTask obj's underlying member method code with example usage: obj.build_default_vocoder() and returns: vocoder