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

Method forward

modules/commons/common_layers.py:162–163  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

160 self.bias = torch.nn.Parameter(torch.Tensor(out_channels))
161
162 def forward(self, input):
163 return torch.conv_tbc(input.contiguous(), self.weight, self.bias, self.padding)
164
165
166class MultiheadAttention(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected