MCPcopy Create free account
hub / github.com/LeapLabTHU/DAT / __init__

Method __init__

models/dat_blocks.py:415–418  ·  view source on GitHub ↗
(self, dim)

Source from the content-addressed store, hash-verified

413class LayerNormProxy(nn.Module):
414
415 def __init__(self, dim):
416
417 super().__init__()
418 self.norm = nn.LayerNorm(dim)
419
420 def forward(self, x):
421

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected