MCPcopy 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_samplerMethod · 0.95
randomedge_samplerMethod · 0.95
vertex_samplerMethod · 0.95
degree_samplerMethod · 0.95
get_test_setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected