(self, x, H, W)
| 163 | self.norm = norm_layer(out_channels) |
| 164 | |
| 165 | def forward(self, x, H, W): |
| 166 | B, N, _C = x.shape |
| 167 | x = x.permute(0, 2, 1).reshape(B, _C, H, W).contiguous() |
| 168 | residual = self.residual(x) |
| 169 | x = self.channel_embed(x) |
| 170 | out = self.norm(residual + x) |
| 171 | return out |
| 172 | |
| 173 | |
| 174 | # FFM |
nothing calls this directly
no outgoing calls
no test coverage detected