Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kyegomez/BitNet
/ default
Function
default
bitnet/bit_ffn.py:9–10 ·
view source on GitHub ↗
(val, d)
Source
from the content-addressed store, hash-verified
7
8
9
def
default(val, d):
10
return
val
if
val is not None
else
d
11
12
13
def
init_zero_(tensor):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected