From 7ae4f7221e41eee81596ab08e4fb1bbef4abcb05 Mon Sep 17 00:00:00 2001 From: TianYuan Date: Wed, 12 Jan 2022 15:36:43 +0800 Subject: [PATCH] Update length_regulator.py --- paddlespeech/t2s/modules/predictor/length_regulator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddlespeech/t2s/modules/predictor/length_regulator.py b/paddlespeech/t2s/modules/predictor/length_regulator.py index bf595b24e..f1ecfb7c1 100644 --- a/paddlespeech/t2s/modules/predictor/length_regulator.py +++ b/paddlespeech/t2s/modules/predictor/length_regulator.py @@ -70,8 +70,8 @@ class LengthRegulator(nn.Layer): ---------- xs : Tensor Batch of sequences of char or phoneme embeddings (B, Tmax, D). - ds : LongTensor - Batch of durations of each frame (B, T). + ds : Tensor(int64) + Batch of durations of each frame (B, T). alpha : float, optional Alpha value to control speed of speech.