modified docstring of tacotron2
This commit is contained in:
parent
63285dc80f
commit
255ddcfe32
|
@ -752,16 +752,13 @@ class Tacotron2(nn.Layer):
|
||||||
config: yacs.config.CfgNode
|
config: yacs.config.CfgNode
|
||||||
Model configs.
|
Model configs.
|
||||||
|
|
||||||
checkpoint_path: Path
|
checkpoint_path: Path or str
|
||||||
The path of pretrained model checkpoint.
|
The path of pretrained model checkpoint, without extension name.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
mel_outputs_postnet: Tensor [shape=(T_mel, C)]
|
Tacotron2
|
||||||
Output sequence of sepctrogram after postnet.
|
The model build from pretrined result.
|
||||||
|
|
||||||
alignments: Tensor [shape=(T_mel, T_text)]
|
|
||||||
Attention weights.
|
|
||||||
"""
|
"""
|
||||||
model = cls(frontend,
|
model = cls(frontend,
|
||||||
d_mels=config.data.d_mels,
|
d_mels=config.data.d_mels,
|
||||||
|
|
Loading…
Reference in New Issue