MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / register_parameter

Method register_parameter

lightx2v/common/modules/weight_module.py:16–18  ·  view source on GitHub ↗
(self, name, param)

Source from the content-addressed store, hash-verified

14 setattr(self, name, module)
15
16 def register_parameter(self, name, param):
17 self._parameters[name] = param
18 setattr(self, name, param)
19
20 def load(self, weight_dict):
21 for _, module in self._modules.items():

Callers 11

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected