Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PyGCL/PyGCL
/ normalize
Function
normalize
GCL/utils.py:56–57 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
54
55
56
def
normalize(s):
57
return
(s.max() - s) / (s.max() - s.mean())
58
59
60
def
build_dgl_graph(edge_index: torch.Tensor) -> dgl.DGLGraph:
Callers
4
get_feature_weights
Function · 0.90
get_eigenvector_weights
Function · 0.90
get_degree_weights
Function · 0.90
get_pagerank_weights
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected