提交 32750995 编写于 作者: 小湉湉's avatar 小湉湉

rm unused comment, test=tts

上级 df3f975e
......@@ -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(
......
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册