Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NineAbyss/ZeroG
/ infomax_corruption
Function
infomax_corruption
code/utils.py:237–243 ·
view source on GitHub ↗
(features, batch)
Source
from the content-addressed store, hash-verified
235
236
237
def
infomax_corruption(features, batch):
238
239
if
batch is None:
240
shuffle_idx = np.random.permutation(features.shape[0])
241
shuffle_features = features[shuffle_idx, :]
242
243
return
shuffle_features
244
245
246
Callers
1
forward
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected