(self, x)
| 110 | self.norm = nn.LayerNorm(embed_dim) |
| 111 | |
| 112 | def forward(self, x): |
| 113 | x = self.proj(x) |
| 114 | _, _, H, W = x.shape |
| 115 | x = x.flatten(2).transpose(1, 2) |
| 116 | x = self.norm(x) |
| 117 | return x, H, W |
| 118 |
nothing calls this directly
no outgoing calls
no test coverage detected