MCPcopy Index your code
hub / github.com/modelscope/modelscope / device

Method device

modelscope/models/science/unifold/modules/frame.py:262–263  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

260
261 @property
262 def device(self) -> torch.device:
263 return self._t.device
264
265 def get_rots(self) -> Rotation:
266 return self._r

Callers 15

constantFunction · 0.45
setup_filterFunction · 0.45
_serialize_to_tensorFunction · 0.45
device_placementFunction · 0.45
create_deviceFunction · 0.45
get_deviceFunction · 0.45
_torch_export_onnxMethod · 0.45
export_onnxMethod · 0.45
__init__Method · 0.45
_get_state_dictMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by 1

test_funcFunction · 0.36