cuequivariance-torch#
Tensor Products#
PyTorch module that computes a segmented polynomial. |
Special Cases of Tensor Products#
Channel-wise tensor product layer. |
|
Fully connected tensor product layer. |
|
A class that represents an equivariant linear layer. |
|
Accelerated implementation of the symmetric contraction operation introduced in https://arxiv.org/abs/2206.07697. |
|
Transpose the irreps layout of a tensor. |
|
Compute the spherical harmonics of the input vectors as a torch module. |
Euclidean Operations#
A class that represents a rotation layer for SO3 or O3 representations. |
|
Inversion layer for \(O(3)\) representations. |
|
Encode a angle into a tensor of cosines and sines. |
|
Convert a 3D vector to Euler angles. |
Triangle#
|
Triangle Attention |
|
Apply triangle multiplicative update operation. |
|
Compute attention with pairwise bias for diffusion models. |
Extra Modules#
Batch normalization for orthonormal representations. |
|
Message passing layer for tensor products in DiffDock-like architectures. |