Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
_test
Method · 0.80
_test
Method · 0.80
_test
Method · 0.80
test
Method · 0.80
_determine_device
Method · 0.80
load
Method · 0.80
__getitem__
Method · 0.80
get_constant_rnn_hidden_states
Function · 0.80
get_valid_mask
Function · 0.80
get_zero_hidden_states
Method · 0.80
get_zero_hidden_states
Method · 0.80
get_zero_hidden_states
Method · 0.80
Calls
no outgoing calls
Tested by
4
_test
Method · 0.64
_test
Method · 0.64
_test
Method · 0.64
test
Method · 0.64