LastAggregator
¶
Bases: Module
Keeps, for every node, the message with the latest timestamp (the message stored last among equal timestamps). Nodes without messages get zeros.
Called as aggr(msg, index, t, dim_size).
from mlx_graphs.nn.models.tgn import LastAggregator · mlx_graphs/nn/models/tgn.py