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

Method forward

modules/commons/common_layers.py:57–59  ·  view source on GitHub ↗
(self, signal)

Source from the content-addressed store, hash-verified

55 self.conv.weight, gain=torch.nn.init.calculate_gain(w_init_gain))
56
57 def forward(self, signal):
58 conv_signal = self.conv(signal)
59 return conv_signal
60
61
62def Embedding(num_embeddings, embedding_dim, padding_idx=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected