Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix model doc str: add shape hint to doc string. #3225

Merged
merged 1 commit into from
Feb 4, 2024
Merged
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
8 changes: 4 additions & 4 deletions deepmd/dpmodel/model/make_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ def call_lower(
Parameters
----------
extended_coord
coodinates in extended region
coodinates in extended region. nf x (nall x 3).
extended_atype
atomic type in extended region
atomic type in extended region. nf x nall.
nlist
neighbor list. nf x nloc x nsel
neighbor list. nf x nloc x nsel.
mapping
mapps the extended indices to local indices
mapps the extended indices to local indices. nf x nall.
fparam
frame parameter. nf x ndf
aparam
Expand Down
10 changes: 5 additions & 5 deletions deepmd/pt/model/model/make_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,15 @@ def forward_common_lower(
Parameters
----------
extended_coord
coodinates in extended region
coodinates in extended region. nf x (nall x 3)
extended_atype
atomic type in extended region
atomic type in extended region. nf x nall
nlist
neighbor list. nf x nloc x nsel
neighbor list. nf x nloc x nsel.
mapping
mapps the extended indices to local indices
mapps the extended indices to local indices. nf x nall.
do_atomic_virial
whether calculate atomic virial
whether calculate atomic virial.

Returns
-------
Expand Down
Loading