(self, dim, out_dim, norm_layer=nn.LayerNorm)
| 554 | """ |
| 555 | |
| 556 | def __init__(self, dim, out_dim, norm_layer=nn.LayerNorm): |
| 557 | super().__init__() |
| 558 | self.dim = dim |
| 559 | self.reduction = nn.Conv2d(dim, out_dim, 3, (2, 1), 1) |
| 560 | # self.norm = nn.BatchNorm2d(out_dim) |
| 561 | self.norm = nn.LayerNorm(out_dim) |
| 562 | |
| 563 | def forward(self, x): |
| 564 | ''' |