Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RingBDStack/GDAP
/ key_fn
Function
key_fn
seq2seq/utils.py:351–352 ·
view source on GitHub ↗
(i)
Source
from the content-addressed store, hash-verified
349
return
np.argsort(np.array(data) * -1)
350
351
def
key_fn(i):
352
return
data[i]
353
354
idxs = np.random.permutation(len(data))
355
sz = bs * 50
Callers
1
sortish_sampler_indices
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected