MCPcopy Create free account
hub / github.com/lingeringlight/START / Permute

Class Permute

models/vmamba.py:691–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689
690
691class 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
699class VSSM(nn.Module):
700 def __init__(self, patch_size=4, in_chans=3, num_classes=1000, depths=[2, 2, 9, 2],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…