(self, x, x_mask=None)
| 347 | self.convs.apply(init_weights) |
| 348 | |
| 349 | def forward(self, x, x_mask=None): |
| 350 | for c in self.convs: |
| 351 | xt = F.leaky_relu(x, LRELU_SLOPE) |
| 352 | if x_mask is not None: |
| 353 | xt = xt * x_mask |
| 354 | xt = c(xt) |
| 355 | x = xt + x |
| 356 | if x_mask is not None: |
| 357 | x = x * x_mask |
| 358 | return x |
| 359 | |
| 360 | def remove_weight_norm(self): |
| 361 | for l in self.convs: |
nothing calls this directly
no outgoing calls
no test coverage detected