MCPcopy Create free account
hub / github.com/kyegomez/BitNet / l2norm

Function l2norm

bitnet/bit_transformer.py:11–12  ·  view source on GitHub ↗
(t, dim=-1)

Source from the content-addressed store, hash-verified

9
10
11def l2norm(t, dim=-1):
12 return F.normalize(t, dim=dim)
13
14
15class RMSNorm(nn.Module):

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected