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

Method aggregate

tf_euler/python/utils/aggregators.py:81–85  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

79 self.layers = [layers.Dense(dim, activation=tf.nn.relu)]
80
81 def aggregate(self, inputs):
82 embedding = inputs
83 for layer in self.layers:
84 embedding = layer(embedding)
85 return self.pool(embedding)
86
87 def pool(self, inputs):
88 raise NotImplementedError()

Callers

nothing calls this directly

Calls 1

poolMethod · 0.95

Tested by

no test coverage detected