xnn.gnn.fast.symmetric_contraction.SymmetricContractionKernel#
- class xnn.gnn.fast.symmetric_contraction.SymmetricContractionKernel(sc, device, dtype)[source]#
Bases:
objectcuEquivariance evaluation of one
SymmetricContractionon one device and dtype.- Parameters:
sc (xnn.gnn.models.mace.SymmetricContraction) – The reference module (its
Ubuffers define the basis of its weights).device (torch.device) – The CUDA device the kernel runs on.
dtype (torch.dtype) – float32 or float64.