Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ModelTC/LightX2V
/ __init__
Method
__init__
lightx2v/common/modules/weight_module.py:5–7 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3
4
class
WeightModule:
5
def
__init__(self):
6
self._modules = {}
7
self._parameters = {}
8
9
def
is_empty(self):
10
return
len(self._modules) == 0 and len(self._parameters) == 0
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected