xnn.trfnn.models.blocks#
Building blocks shared by the Equiformer models (Equiformer and EquiformerV2).
GraphDropPath, stochastic depth per structure;RadialMLP, the radial function (linear layers with layer norm and SiLU);SmoothLeakyReLU, the activation of the attention logits.
Classes
|
Stochastic depth per structure: drop a residual branch for whole structures. |
|
The radial function: linear layers, each but the last followed by layer norm and SiLU. |
|
|