espnet2.tts.abs_tts.AbsTTS
Less than 1 minute
espnet2.tts.abs_tts.AbsTTS
class espnet2.tts.abs_tts.AbsTTS(*args, **kwargs)
Bases: Module
, ABC
TTS abstract class.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
abstract forward(text: Tensor, text_lengths: Tensor, feats: Tensor, feats_lengths: Tensor, **kwargs) → Tuple[Tensor, Dict[str, Tensor], Tensor]
Calculate outputs and return the loss tensor.
abstract inference(text: Tensor, **kwargs) → Dict[str, Tensor]
Return predicted output as a dict.
property require_raw_speech
Return whether or not raw_speech is required.
property require_vocoder
Return whether or not vocoder is required.