未验证 提交 c02bc087 编写于 作者: M mooncake 提交者: GitHub

rearrange-encoder-infer-param (#2983)

上级 367d8293
......@@ -705,9 +705,9 @@ class FastSpeech2(nn.Layer):
def encoder_infer(
self,
text: paddle.Tensor,
spk_id=None,
alpha: float=1.0,
spk_emb=None,
spk_id=None,
tone_id=None,
) -> Tuple[paddle.Tensor, paddle.Tensor, paddle.Tensor]:
# input of embedding must be int64
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册