(self, x, H, W)
| 87 | self.mlp = MLPLayer(in_features=dim, hidden_features=mlp_hidden_dim, act_layer=act_layer, drop=drop) |
| 88 | |
| 89 | def forward(self, x, H, W): |
| 90 | x = x + self.drop_path(self.attn(self.norm1(x), H, W)) |
| 91 | x = x + self.drop_path(self.mlp(self.norm2(x), H, W)) |
| 92 | return x |
| 93 | |
| 94 | |
| 95 | class OverlapPatchEmbed(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected