code: def aggregate(self, inputs):
      embedding = inputs
      for layer in self.layers:
          embedding = layer(embedding)
      return self.pool(embedding)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_euler.python.utils import layers
label_desc: Use image node_id 2 for calling the BasePoolAggregator obj's underlying member method code with example usage: obj.aggregate(inputs) and returns: self