Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BeastyZ/ConvSearch-R1
/ tensor_to_list
Function
tensor_to_list
index/dense/utils.py:101–102 ·
view source on GitHub ↗
(tensor)
Source
from the content-addressed store, hash-verified
99
return
all_docs
100
101
def
tensor_to_list(tensor):
102
return
tensor.detach().cpu().tolist()
103
104
def
set_seed(seed):
105
random.seed(seed)
Callers
1
retrieve
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected