MCPcopy Create free account
hub / github.com/alibaba/euler / __call__

Method __call__

tf_euler/python/convolution/conv_test.py:28–33  ·  view source on GitHub ↗
(self, x, edge_index, size=None)

Source from the content-addressed store, hash-verified

26class SimpleConv(Conv):
27
28 def __call__(self, x, edge_index, size=None):
29 gather_x, = self.gather_feature([x], edge_index)
30 out = self.apply_edge(gather_x[1])
31 out = mp_ops.scatter_(self.aggr, out, edge_index[0], size=size[0])
32 out = self.apply_node(out)
33 return out
34
35
36class ConvTest(tf.test.TestCase):

Callers

nothing calls this directly

Calls 3

gather_featureMethod · 0.80
apply_edgeMethod · 0.45
apply_nodeMethod · 0.45

Tested by

no test coverage detected