TensorNet#
The TensorNet model as proposed in TensorNet: Cartesian Tensor Representations for Efficient Learning of Molecular Potentials .
Supervised#
The base tesnor_net_model as proposed in the original paper. It has the ability to output graph scalars,
node scalars, and optionally a node vector as the gradient of the graph scalars. The model has the following config
num_node_feats: intThe number of node features. Must be equal to the initial node feature dimension (sum of one-hot encoded features).
num_edge_feats: intThe number of edge features. Must be equal to the initial node feature dimension (sum of one-hot encoded features).
num_features: int = 256The number of features in the model.
num_radial: int = 64The number of radial bessel functions to use.
num_interaction_layers: int = 3The number of interaction layers.
embedding_mlp_hidden_dims: List[int] = [512]The embedding MLP’s hidden dimensions.
interaction_mlp_hidden_dims: List[int] = [256, 512]The interaction MLP’s hidden dimensions.
scalar_output_mlp_hidden_dims: List[int] = [256, 128]The scalar output MLP’s hidden dimensions.
scaling_mean: float = 0.0The scaling mean of the model output. This is usually computed as the mean of
(molecule_energy - molecule_self_energy)scaling_std: float = 1.0The scaling std of the model output. This is usually computed as the std of
(molecule_energy - molecule_self_energy)compute_forces: bool = FalseWhether to compute forces as the gradient of the
y_graph_scalarsand use those as they_node_vectoroutput.y_node_scalars_loss_config: Optional[Dict] = NoneThe loss config for the
y_node_scalars.y_node_vector_loss_config: Optional[Dict] = NoneThe loss config for the
y_edge_scalars.y_graph_scalars_loss_config: Optional[Dict] = NoneThe loss config for the
y_graph_scalars.