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

Method forward

mogen/models/transformers/finemogen.py:218–224  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

216 self.ffn = SFFN(**ffn_cfg)
217
218 def forward(self, **kwargs):
219 if self.ca_block is not None:
220 x = self.ca_block(**kwargs)
221 kwargs.update({'x': x})
222 if self.ffn is not None:
223 x = self.ffn(**kwargs)
224 return x
225
226
227@SUBMODULES.register_module()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected