(self, dim, out_dim, norm_layer=nn.LayerNorm)
| 566 | """ |
| 567 | |
| 568 | def __init__(self, dim, out_dim, norm_layer=nn.LayerNorm): |
| 569 | super().__init__() |
| 570 | self.dim = dim |
| 571 | self.reduction = nn.Conv2d(dim, out_dim, 3, (2, 1), 1) |
| 572 | # self.norm = nn.BatchNorm2d(out_dim) |
| 573 | self.norm = nn.LayerNorm(out_dim) |
| 574 | |
| 575 | def forward(self, x): |
| 576 | ''' |