Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TrustAGI-Lab/MTGODE
/ shuffle
Method
shuffle
util.py:113–117 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
111
self.ys = ys
112
113
def
shuffle(self):
114
permutation = np.random.permutation(self.size)
115
xs, ys = self.xs[permutation], self.ys[permutation]
116
self.xs = xs
117
self.ys = ys
118
119
def
get_iterator(self):
120
self.current_ind = 0
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected