(self, dim, *args, **kwargs)
| 100 | class MaxPoolAggregator(BasePoolAggregator): |
| 101 | |
| 102 | def __init__(self, dim, *args, **kwargs): |
| 103 | super(MaxPoolAggregator, self).__init__(dim, *args, **kwargs) |
| 104 | |
| 105 | def pool(self, inputs): |
| 106 | return tf.reduce_max(inputs, axis=1) |