(self, x)
| 179 | self.norm = None |
| 180 | |
| 181 | def forward(self, x): |
| 182 | x = self.proj(x).permute(0, 2, 3, 1) |
| 183 | if self.norm is not None: |
| 184 | x = self.norm(x) |
| 185 | return x |
| 186 | |
| 187 | |
| 188 | class PatchMerging2D(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected