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

Class SimpleConv

tf_euler/python/convolution/conv_test.py:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
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 1

testConvMethod · 0.85

Calls

no outgoing calls

Tested by 1

testConvMethod · 0.68