MCPcopy 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
166def train(

Callers 2

trainFunction · 0.95

Calls

no outgoing calls

Tested by 1