MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / forward

Method forward

modules/hifigan/hifigan.py:82–87  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

80 self.convs.apply(init_weights)
81
82 def forward(self, x):
83 for c in self.convs:
84 xt = F.leaky_relu(x, LRELU_SLOPE)
85 xt = c(xt)
86 x = xt + x
87 return x
88
89 def remove_weight_norm(self):
90 for l in self.convs:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected