Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MarcCoru/locationencoder
/ count_parameters
Function
count_parameters
utils/utils.py:44–45 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
42
43
44
def
count_parameters(model):
45
return
sum(p.numel()
for
p in model.parameters()
if
p.requires_grad)
Callers
1
fit
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected