Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MarcCoru/locationencoder
/ count_parameters
Function
count_parameters
experiments/exp_era5.py:122–123 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
120
return
hparams
121
122
def
count_parameters(model):
123
return
sum(p.numel()
for
p in model.parameters()
if
p.requires_grad)
124
125
def
fit(args):
126
positional_encoding_name = args.pe
Callers
1
fit
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected