(self, x,mask=None)
| 161 | self.ffn = FeedForward(dim, ffn_expansion_factor, bias) |
| 162 | |
| 163 | def forward(self, x,mask=None): |
| 164 | x = x + self.attn(self.norm1(x),mask) |
| 165 | x = x + self.ffn(self.norm2(x)) |
| 166 | return x |
| 167 | |
| 168 | def initialize(self): |
| 169 | weight_init(self) |
nothing calls this directly
no outgoing calls
no test coverage detected