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

Method __init__

tf_euler/python/convolution/gin_conv.py:28–36  ·  view source on GitHub ↗
(self, dim, mlp=None, eps=0.0, train_eps=True, **kwargs)

Source from the content-addressed store, hash-verified

26class GINConv(conv.Conv):
27
28 def __init__(self, dim, mlp=None, eps=0.0, train_eps=True, **kwargs):
29 super(GINConv, self).__init__(aggr='add', **kwargs)
30 if mlp is None:
31 self.mlp = tf.layers.Dense(dim, use_bias=False)
32 else:
33 self.mlp = mlp
34 self.eps_value = eps
35 self.train_eps = train_eps
36 self.build = False
37
38 def __call__(self, x, edge_index, size=None, **kwargs):
39 if not self.build:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected