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

Method _get_device

engine/BiRefNet/models/modules/prompt_encoder.py:127–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 return 1
126
127 def _get_device(self) -> torch.device:
128 return self.point_embeddings[0].weight.device
129
130 def forward(
131 self,

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected