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

Method __len__

lightx2v/common/modules/weight_module.py:211–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 if module is not None and hasattr(module, "to_cuda"):
210 module.to_cuda(non_blocking=True)
211
212
213class WeightModuleList(WeightModule):
214 def __init__(self, modules=None):
215 super().__init__()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected