class_docstr: ESPnet model for text-to-speech task.
docstr: Initialize ESPnetTTSModel module.
docstr_tok: ["Initialize","ESPnetTTSModel","module","."]
code: def __init__(
      self,
      feats_extract: Optional[AbsFeatsExtract],
      pitch_extract: Optional[AbsFeatsExtract],
      energy_extract: Optional[AbsFeatsExtract],
      normalize: Optional[AbsNormalize and InversibleInterface],
      pitch_normalize: Optional[AbsNormalize and InversibleInterface],
      energy_normalize: Optional[AbsNormalize and InversibleInterface],
      tts: AbsTTS,
  ):
      """Initialize ESPnetTTSModel module."""
      assert check_argument_types()
      super().__init__()
      self.feats_extract = feats_extract
      self.pitch_extract = pitch_extract
      self.energy_extract = energy_extract
      self.normalize = normalize
      self.pitch_normalize = pitch_normalize
      self.energy_normalize = energy_normalize
      self.tts = tts
  
file_path: espnet/espnet2/tts/espnet_model.py
imports: from contextlib import contextmanager
  from typing import Dict, Optional, Tuple
  import torch
  from packaging.version import parse
  from typeguard import check_argument_types
  from espnet2.layers.abs_normalize import AbsNormalize
  from espnet2.layers.inversible_interface import InversibleInterface
  from espnet2.train.abs_espnet_model import AbsESPnetModel
  from espnet2.tts.abs_tts import AbsTTS
  from espnet2.tts.feats_extract.abs_feats_extract import AbsFeatsExtract
label_desc: Use image node_id 1 to create a new ESPnetTTSModel object from inherited base classes: AbsESPnetModel with example: obj = ESPnetTTSModel(feats_extract, pitch_extract, energy_extract, normalize, pitch_normalize, energy_normalize, tts)