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

Method __init__

tf_euler/python/convolution/graph_conv.py:28–31  ·  view source on GitHub ↗
(self, dim, **kwargs)

Source from the content-addressed store, hash-verified

26class GraphConv(conv.Conv):
27
28 def __init__(self, dim, **kwargs):
29 super(GraphConv, self).__init__(aggr='mean', **kwargs)
30 self.fc = tf.layers.Dense(dim, use_bias=False)
31 self.liner = tf.layers.Dense(dim, use_bias=True)
32
33 def __call__(self, x, edge_index, size=None, **kwargs):
34 h = [None if x[0] is None else self.fc(x[0]),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected