Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyGCL/PyGCL
/ augment
Method
augment
GCL/augmentors/node_shuffling.py:9–12 ·
view source on GitHub ↗
(self, g: Graph)
Source
from the content-addressed store, hash-verified
7
super(NodeShuffling, self).__init__()
8
9
def
augment(self, g: Graph) -> Graph:
10
x, edge_index, edge_weights = g.unfold()
11
x = permute(x)
12
return
Graph(x=x, edge_index=edge_index, edge_weights=edge_weights)
Callers
nothing calls this directly
Calls
3
permute
Function · 0.90
Graph
Class · 0.90
unfold
Method · 0.80
Tested by
no test coverage detected