Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PyGCL/PyGCL
/ corruption
Method
corruption
examples/DGI_transductive.py:44–45 ·
view source on GitHub ↗
(x, edge_index)
Source
from the content-addressed store, hash-verified
42
43
@staticmethod
44
def
corruption(x, edge_index):
45
return
x[torch.randperm(x.size(0))], edge_index
46
47
def
forward(self, x, edge_index):
48
z = self.encoder(x, edge_index)
Callers
1
forward
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected