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

Method __init__

tf_euler/python/convolution/gat_conv.py:29–31  ·  view source on GitHub ↗
(self, dim)

Source from the content-addressed store, hash-verified

27class Attention(tf.layers.Layer):
28
29 def __init__(self, dim):
30 super(Attention, self).__init__(self)
31 self.dim = dim
32
33 def build(self, input_shape):
34 self.fc = tf.layers.Dense(1, use_bias=False)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected