xnn.gnn.fast.aimnet2_kernels.shell_sums#
- xnn.gnn.fast.aimnet2_kernels.shell_sums(a, g, edge_index)[source]#
The four shell sums of the AIMNet2 convolution (see
xnn.gnn.fast.aimnet2).- Parameters:
a (Tensor) – The convolved per-atom quantity, shape
(N, C, S).g (Tensor) – Per edge the radial basis and its products with the three components of the unit bond vector, shape
(E, S, 4).edge_index (Tensor) – Source (row 0, the neighbor) and destination (row 1, the center) of every edge.
- Returns:
sum_{j -> i} a[j, c, s] g[ij, s, k], shape(N, C, S, 4).- Return type:
Tensor