MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / _count_params

Function _count_params

model/splat_model.py:22–23  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

20
21
22def _count_params(module):
23 return sum(p.numel() for p in module.parameters() if p.requires_grad)
24
25class SplatModel(StaticEncoder):
26 def __init__(self, opt: Options, **model_kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected