MCPcopy Create free account
hub / github.com/TimSeizinger/Bokehlicious / __init__

Method __init__

method/nn_util.py:329–331  ·  view source on GitHub ↗
(self, embed_dim=96, norm_layer=None)

Source from the content-addressed store, hash-verified

327 """
328
329 def __init__(self, embed_dim=96, norm_layer=None):
330 super().__init__()
331 self.norm = nn.LayerNorm(embed_dim) if norm_layer is not None else None
332
333 def forward(self, x):
334 x = x.permute(0, 2, 3, 1) # (b c h w) -> (b h w c)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected