MCPcopy Create free account
hub / github.com/Mew233/pairwise / forward

Method forward

pairwise/models/pairwise.py:26–30  ·  view source on GitHub ↗
(self, src, mask=None)

Source from the content-addressed store, hash-verified

24 self.norm = Norm(d_model)
25
26 def forward(self, src, mask=None):
27 x = src
28 for i in range(self.N):
29 x = self.layers[i](x, mask)
30 return self.norm(x)
31
32class AE(nn.Module):
33

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected