xnn.gnn.fast.tensornet_kernels.messages#

xnn.gnn.fast.tensornet_kernels.messages(x, a, cut, src, dst)[source]#

The fused interaction messages.

Parameters:
  • x (Tensor) – The ten rows of every atom, (N, 10, F).

  • a (Tensor) – The filter network’s output, without the cutoff, (P, 3F): the scalar, vector and symmetric parts.

  • cut (Tensor) – The cosine cutoff of every pair (P,).

  • src (Tensor) – Neighbor and center of every pair (P,).

  • dst (Tensor) – Neighbor and center of every pair (P,).

Returns:

sum_j cut_ij a_ij x_j on the ten rows, (N, 10, F).

Return type:

Tensor