Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions deepmd/pd/model/descriptor/dpa2.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,20 +130,6 @@ def __init__(
type_map : list[str], Optional
A list of strings. Give the name to each type of atoms.

Returns
-------
descriptor: paddle.Tensor
the descriptor of shape nb x nloc x g1_dim.
invariant single-atom representation.
g2: paddle.Tensor
invariant pair-atom representation.
h2: paddle.Tensor
equivariant pair-atom representation.
rot_mat: paddle.Tensor
rotation matrix for equivariant fittings
sw: paddle.Tensor
The switch function for decaying inverse distance.

References
----------
.. [1] Zhang, D., Liu, X., Zhang, X. et al. DPA-2: a
Expand Down
14 changes: 0 additions & 14 deletions deepmd/pt/model/descriptor/dpa2.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,6 @@ def __init__(
type_map : list[str], Optional
A list of strings. Give the name to each type of atoms.

Returns
-------
descriptor: torch.Tensor
the descriptor of shape nb x nloc x g1_dim.
invariant single-atom representation.
g2: torch.Tensor
invariant pair-atom representation.
h2: torch.Tensor
equivariant pair-atom representation.
rot_mat: torch.Tensor
rotation matrix for equivariant fittings
sw: torch.Tensor
The switch function for decaying inverse distance.

References
----------
.. [1] Zhang, D., Liu, X., Zhang, X. et al. DPA-2: a
Expand Down
5 changes: 0 additions & 5 deletions deepmd/tf/utils/spin.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ def build(
The weights in the networks should be reused when get the variable.
suffix
Name suffix to identify this descriptor

Returns
-------
embedded_types
The computational graph for embedded types
"""
name = "spin_attr" + suffix
with tf.variable_scope(name, reuse=reuse):
Expand Down