class_docstr: ESPnet model for singing voice synthesis task.
class_docstr_tok: ["ESPnet","model","for","singing","voice","synthesis","task","."]
docstr: Initialize ESPnetSVSModel module.
docstr_tok: ["Initialize","ESPnetSVSModel","module","."]
code: def __init__(
      self,
      text_extract: Optional[AbsFeatsExtract],
      feats_extract: Optional[AbsFeatsExtract],
      score_feats_extract: Optional[AbsFeatsExtract],
      label_extract: Optional[AbsFeatsExtract],
      pitch_extract: Optional[AbsFeatsExtract],
      ying_extract: Optional[AbsFeatsExtract],
      duration_extract: Optional[AbsFeatsExtract],
      energy_extract: Optional[AbsFeatsExtract],
      normalize: Optional[AbsNormalize and InversibleInterface],
      pitch_normalize: Optional[AbsNormalize and InversibleInterface],
      energy_normalize: Optional[AbsNormalize and InversibleInterface],
      svs: AbsSVS,
  ):
      """Initialize ESPnetSVSModel module."""
      assert check_argument_types()
      super().__init__()
      self.text_extract = text_extract
      self.feats_extract = feats_extract
      self.score_feats_extract = score_feats_extract
      self.label_extract = label_extract
      self.pitch_extract = pitch_extract
      self.ying_extract = ying_extract
      self.duration_extract = duration_extract
      self.energy_extract = energy_extract
      self.normalize = normalize
      self.pitch_normalize = pitch_normalize
      self.energy_normalize = energy_normalize
      self.svs = svs
  
file_path: espnet/espnet2/svs/espnet_model.py
imports: from contextlib import contextmanager
  from distutils.version import LooseVersion
  from typing import Dict, Optional, Tuple
  import torch
  from typeguard import check_argument_types
  from espnet2.layers.abs_normalize import AbsNormalize
  from espnet2.layers.inversible_interface import InversibleInterface
  from espnet2.svs.abs_svs import AbsSVS
  from espnet2.svs.feats_extract.score_feats_extract import FrameScoreFeats, SyllableScoreFeats, expand_to_frame
  from espnet2.train.abs_espnet_model import AbsESPnetModel
  from espnet2.tts.feats_extract.abs_feats_extract import AbsFeatsExtract
label_desc: Use image node_id 1 to create a new ESPnetSVSModel object from inherited base classes: AbsESPnetModel with example: obj = ESPnetSVSModel(text_extract, feats_extract, score_feats_extract, label_extract, pitch_extract, ying_extract, duration_extract, energy_extract, normalize, pitch_normalize, energy_normalize, svs)