(self, **kwargs)
| 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 | |
| 46 | class RetrievalDatabase(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected