deepmd.pt.utils.preprocess#
Attributes#
Functions#
| Compute smooth weight for descriptor elements. |
| Compute the exponential switch function for neighbor update. |
Module Contents#
- deepmd.pt.utils.preprocess.compute_smooth_weight(distance: torch.Tensor, rmin: float, rmax: float) torch.Tensor[source]#
Compute smooth weight for descriptor elements.
- deepmd.pt.utils.preprocess.compute_exp_sw(distance: torch.Tensor, rmin: float, rmax: float) torch.Tensor[source]#
Compute the exponential switch function for neighbor update.