| 689 | |
| 690 | |
| 691 | class Permute(nn.Module): |
| 692 | def __init__(self, *args): |
| 693 | super().__init__() |
| 694 | self.args = args |
| 695 | |
| 696 | def forward(self, x: torch.Tensor): |
| 697 | return x.permute(*self.args) |
| 698 | |
| 699 | class VSSM(nn.Module): |
| 700 | def __init__(self, patch_size=4, in_chans=3, num_classes=1000, depths=[2, 2, 9, 2], |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…