Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
def
l2norm(t, dim=-1):
12
return
F.normalize(t, dim=dim)
13
14
15
class
RMSNorm(nn.Module):
Callers
1
forward
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected