xnn.trfnn.models.equiformer.paper_irreps#

xnn.trfnn.models.equiformer.paper_irreps(l_max=2, e3=False, n_features=None)[source]#

The irreps of the paper’s architectures, optionally rescaled.

Parameters:
  • l_max (int, optional) – 1 (OC20), 2 (QM9, MD17) or 3 (MD17), by default 2.

  • e3 (bool, optional) – The E(3) model (both parities) instead of the SE(3) one, by default False.

  • n_features (int, optional) – Number of even scalars of the embedding; every multiplicity is scaled by n_features over the paper’s value (128, 256 for l_max = 1).

Returns:

irreps_node_embedding, irreps_head, num_heads, irreps_mlp_mid.

Return type:

dict

Raises:

ValueError – For an l_max without a paper architecture.