Skip to content

Commit

Permalink
fix: descriptor function doc (deepmodeling#2440)
Browse files Browse the repository at this point in the history
Co-authored-by: AnuragKr <anuragkrsingh02@outlook.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and nahso committed Apr 11, 2023
1 parent 31c8a48 commit 353a12b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion deepmd/descriptor/se_a.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ def get_dim_rot_mat_1(self) -> int:
return self.filter_neuron[-1]

def get_nlist(self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
"""Returns
"""Returns neighbor information.
Returns
-------
nlist
Neighbor list
Expand Down
4 changes: 3 additions & 1 deletion deepmd/descriptor/se_a_ef.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ def get_rot_mat(self) -> tf.Tensor:
return self.qmat

def get_nlist(self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
"""Returns
"""Returns neighbor information.
Returns
-------
nlist
Neighbor list
Expand Down
4 changes: 3 additions & 1 deletion deepmd/descriptor/se_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ def get_dim_out(self):
return self.filter_neuron[-1]

def get_nlist(self):
"""Returns
"""Returns neighbor information.
Returns
-------
nlist
Neighbor list
Expand Down
4 changes: 3 additions & 1 deletion deepmd/descriptor/se_t.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ def get_dim_out(self) -> int:
return self.filter_neuron[-1]

def get_nlist(self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
"""Returns
"""Returns neighbor information.
Returns
-------
nlist
Neighbor list
Expand Down

0 comments on commit 353a12b

Please sign in to comment.