Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MarcCoru/locationencoder
/ set_default_if_unset
Function
set_default_if_unset
utils/utils.py:38–41 ·
view source on GitHub ↗
(hparams, key, value)
Source
from the content-addressed store, hash-verified
36
37
38
def
set_default_if_unset(hparams, key, value):
39
if
not key in hparams.keys():
40
hparams[key] = value
41
return
hparams
42
43
44
def
count_parameters(model):
Callers
1
fit
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected