rm unused comment, test=tts

pull/1855/head
TianYuan 3 years ago
parent df3f975ea5
commit 327509951f

@ -252,9 +252,6 @@ class ConvFlow(nn.Layer):
self.half_channels * (bins * 3 - 1), self.half_channels * (bins * 3 - 1),
1, ) 1, )
# self.proj.weight.data.zero_()
# self.proj.bias.data.zero_()
weight = paddle.zeros(paddle.shape(self.proj.weight)) weight = paddle.zeros(paddle.shape(self.proj.weight))
self.proj.weight = paddle.create_parameter( self.proj.weight = paddle.create_parameter(

@ -186,8 +186,6 @@ class ResidualAffineCouplingLayer(nn.Layer):
hidden_channels, hidden_channels,
self.half_channels * 2, self.half_channels * 2,
1, ) 1, )
# self.proj.weight.data.zero_()
# self.proj.bias.data.zero_()
weight = paddle.zeros(paddle.shape(self.proj.weight)) weight = paddle.zeros(paddle.shape(self.proj.weight))

Loading…
Cancel
Save