MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / __init__

Method __init__

PATH/core/models/backbones/vitdet.py:317–319  ·  view source on GitHub ↗
(self, embed_dim)

Source from the content-addressed store, hash-verified

315
316class Norm2d(nn.Module):
317 def __init__(self, embed_dim):
318 super().__init__()
319 self.ln = nn.LayerNorm(embed_dim, eps=1e-6)
320
321 def forward(self, x):
322 x = x.permute(0, 2, 3, 1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected