Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coperception/star
/ map_func
Method
map_func
star/utils/SegModule.py:27–28 ·
view source on GitHub ↗
(storage, location)
Source
from the content-addressed store, hash-verified
25
26
def
resume(self, path):
27
def
map_func(storage, location):
28
return
storage.cuda()
29
30
if
os.path.isfile(path):
31
if
rank == 0:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected