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

Function _count_params

model/model_utils.py:38–39  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

36
37
38def _count_params(module):
39 return sum(p.numel() for p in module.parameters() if p.requires_grad)
40
41class GSEncoder(nn.Module):
42 def __init__(self, opt: Options, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected