MCPcopy Index your code
hub / github.com/apple/ml-pointersect / device

Method device

pointersect/inference/structures.py:1119–1120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1117
1118 @property
1119 def device(self):
1120 return self.origins_w.device
1121
1122 def state_dict(self) -> T.Dict[str, T.Any]:
1123 """Returns a dictionary that can be saved or load."""

Callers 15

_testMethod · 0.80
_testMethod · 0.80
_testMethod · 0.80
testMethod · 0.80
_determine_deviceMethod · 0.80
loadMethod · 0.80
__getitem__Method · 0.80
get_valid_maskFunction · 0.80

Calls

no outgoing calls

Tested by 4

_testMethod · 0.64
_testMethod · 0.64
_testMethod · 0.64
testMethod · 0.64