MCPcopy Create free account
hub / github.com/aigc3d/LHM / to

Method to

engine/SegmentAPI/base.py:32–34  ·  view source on GitHub ↗
(self, device)

Source from the content-addressed store, hash-verified

30 return self
31
32 def to(self, device):
33 self.model.to(device)
34 return self
35
36 def eval(self):
37 self.model.eval()

Callers 15

core_fnFunction · 0.45
launch_gradio_appFunction · 0.45
core_fnFunction · 0.45
launch_gradio_appFunction · 0.45
core_fnFunction · 0.45
launch_gradio_appFunction · 0.45
evalFunction · 0.45
ssimFunction · 0.45
lpipsFunction · 0.45
ssimFunction · 0.45
lpipsFunction · 0.45
evalFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected