MCPcopy
hub / github.com/Zyphra/Zonos / device

Method device

zonos/model.py:54–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52
53 @property
54 def device(self) -> torch.device:
55 return next(self.parameters()).device
56
57 @classmethod
58 def from_pretrained(

Callers 4

__init__Method · 0.80
__init__Method · 0.80
get_deviceFunction · 0.80
generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected