Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ecto/muni
/ param_count
Method
param_count
bvr/training/train_bc.py:161–163 ·
view source on GitHub ↗
Total number of trainable parameters.
(self)
Source
from the content-addressed store, hash-verified
159
return
layers
160
161
def
param_count(self) -> int:
162
""
"Total number of trainable parameters."
""
163
return
sum(p.numel()
for
p in self.parameters())
164
165
166
def
train(
Callers
2
train
Function · 0.95
test_default_architecture
Method · 0.95
Calls
no outgoing calls
Tested by
1
test_default_architecture
Method · 0.76