Skip to content

Commit

Permalink
add missing docs in pt make model
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Feb 11, 2024
1 parent c57dccc commit cb7b96d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deepmd/pt/model/model/make_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ def forward_common(
The type of atoms. shape: nf x nloc
box
The simulation box. shape: nf x 9
fparam
frame parameter. nf x ndf
aparam
atomic parameter. nf x nloc x nda
do_atomic_virial
If calculate the atomic virial.
Expand Down Expand Up @@ -155,6 +159,10 @@ def forward_common_lower(
neighbor list. nf x nloc x nsel.
mapping
mapps the extended indices to local indices. nf x nall.
fparam
frame parameter. nf x ndf
aparam
atomic parameter. nf x nloc x nda
do_atomic_virial
whether calculate atomic virial.
Expand Down

0 comments on commit cb7b96d

Please sign in to comment.