MeanAggregation
¶
Bases: Aggregation
Averages the elements of each set.
\[
\mathrm{mean}(\mathcal{X}) = \frac{1}{|\mathcal{X}|}
\sum_{\mathbf{x}_i \in \mathcal{X}} \mathbf{x}_i.
\]
from mlx_graphs.nn.aggr import MeanAggregation · mlx_graphs/nn/aggr/basic.py