From 327509951f0d864b7e50e482ad357283a8973ae0 Mon Sep 17 00:00:00 2001 From: TianYuan Date: Tue, 24 May 2022 03:17:16 +0000 Subject: [PATCH] rm unused comment, test=tts --- paddlespeech/t2s/models/vits/flow.py | 3 --- paddlespeech/t2s/models/vits/residual_coupling.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/paddlespeech/t2s/models/vits/flow.py b/paddlespeech/t2s/models/vits/flow.py index 8726748e..3c8f8935 100644 --- a/paddlespeech/t2s/models/vits/flow.py +++ b/paddlespeech/t2s/models/vits/flow.py @@ -252,9 +252,6 @@ class ConvFlow(nn.Layer): self.half_channels * (bins * 3 - 1), 1, ) - # self.proj.weight.data.zero_() - # self.proj.bias.data.zero_() - weight = paddle.zeros(paddle.shape(self.proj.weight)) self.proj.weight = paddle.create_parameter( diff --git a/paddlespeech/t2s/models/vits/residual_coupling.py b/paddlespeech/t2s/models/vits/residual_coupling.py index 8671462d..c18beedd 100644 --- a/paddlespeech/t2s/models/vits/residual_coupling.py +++ b/paddlespeech/t2s/models/vits/residual_coupling.py @@ -186,8 +186,6 @@ class ResidualAffineCouplingLayer(nn.Layer): hidden_channels, self.half_channels * 2, 1, ) - # self.proj.weight.data.zero_() - # self.proj.bias.data.zero_() weight = paddle.zeros(paddle.shape(self.proj.weight))