Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DropEdge/DropEdge
/ _preprocess_fea
Method
_preprocess_fea
src/sample.py:56–60 ·
view source on GitHub ↗
(self, fea, cuda)
Source
from the content-addressed store, hash-verified
54
return
r_adj
55
56
def
_preprocess_fea(self, fea, cuda):
57
if
cuda:
58
return
fea.cuda()
59
else
:
60
return
fea
61
62
def
stub_sampler(self, normalization, cuda):
63
""
"
Callers
5
stub_sampler
Method · 0.95
randomedge_sampler
Method · 0.95
vertex_sampler
Method · 0.95
degree_sampler
Method · 0.95
get_test_set
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected