MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / forward

Method forward

mogen/models/transformers/remodiffuse.py:37–43  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

35 self.ffn = FFN(**ffn_cfg)
36
37 def forward(self, **kwargs):
38 if self.sa_block is not None:
39 x = self.sa_block(**kwargs)
40 kwargs.update({'x': x})
41 if self.ffn is not None:
42 x = self.ffn(**kwargs)
43 return x
44
45
46class RetrievalDatabase(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected