MCPcopy Create free account
hub / github.com/PyGCL/PyGCL / __call__

Method __call__

GCL/augmentors/functional.py:108–111  ·  view source on GitHub ↗
(self, x, edge_index)

Source from the content-addressed store, hash-verified

106 self.pf = pf
107
108 def __call__(self, x, edge_index):
109 edge_index = dropout_adj(edge_index, p=self.pe)[0]
110 x = drop_feature(x, self.pf)
111 return x, edge_index
112
113
114def get_feature_weights(x, centrality, sparse=True):

Callers

nothing calls this directly

Calls 1

drop_featureFunction · 0.85

Tested by

no test coverage detected