class_docstr: General class to jointly train text2mel and vocoder parts.
docstr: Return whether or not speech is required.
docstr_tok: ["Return","whether","or","not","speech","is","required","."]
code: def require_raw_speech(self):
      """Return whether or not speech is required."""
      return True
  
imports: from typing import Any, Dict
  import torch
  from typeguard import check_argument_types
  from espnet2.gan_tts.abs_gan_tts import AbsGANTTS
  from espnet2.gan_tts.hifigan import HiFiGANGenerator, HiFiGANMultiPeriodDiscriminator, HiFiGANMultiScaleDiscriminator, HiFiGANMultiScaleMultiPeriodDiscriminator, HiFiGANPeriodDiscriminator, HiFiGANScaleDiscriminator
  from espnet2.gan_tts.hifigan.loss import DiscriminatorAdversarialLoss, FeatureMatchLoss, GeneratorAdversarialLoss, MelSpectrogramLoss
  from espnet2.gan_tts.melgan import MelGANGenerator, MelGANMultiScaleDiscriminator
  from espnet2.gan_tts.melgan.pqmf import PQMF
  from espnet2.gan_tts.parallel_wavegan import ParallelWaveGANDiscriminator, ParallelWaveGANGenerator
  from espnet2.gan_tts.style_melgan import StyleMelGANDiscriminator, StyleMelGANGenerator
  from espnet2.gan_tts.utils import get_random_segments, get_segments
  from espnet2.torch_utils.device_funcs import force_gatherable
  from espnet2.tts.fastspeech import FastSpeech
  from espnet2.tts.fastspeech2 import FastSpeech2
  from espnet2.tts.tacotron2 import Tacotron2
  from espnet2.tts.transformer import Transformer
label_desc: Use image node_id 2 for calling the JointText2Wav obj's underlying member method code with example usage: obj.require_raw_speech() and returns: True