xnn.gnn.fast.cace_kernels.message_sums#

xnn.gnn.fast.cace_kernels.message_sums(a, d, groups, edge_index)[source]#

The Ar messages summed onto the centers (see xnn.gnn.fast.cace).

Parameters:
  • a (Tensor) – The senders’ features, shape (N, L, S) (angular entries, then the radial and edge channels flattened).

  • d (Tensor) – The decay of every edge per angular order, shape (E, G, S).

  • groups (Tensor) – The order g(a) of every angular entry, shape (L,), int32 or int64.

  • edge_index (Tensor) – Source (row 0, the sender) and destination (row 1, the center) of every edge.

Returns:

sum_{e -> i} a[src_e, a, s] d[e, g(a), s], shape (N, L, S).

Return type:

Tensor