MCPcopy Create free account
hub / github.com/buaacxf/VIPTR / __init__

Method __init__

modules/VIPTRv1.py:568–573  ·  view source on GitHub ↗
(self, dim, out_dim, norm_layer=nn.LayerNorm)

Source from the content-addressed store, hash-verified

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 '''

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected