Skip to content

Commit

Permalink
init for dpmodel make_model
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Mar 12, 2024
1 parent 0eb7847 commit 72fbcfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepmd/dpmodel/model/make_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def __init__(
atomic_model_: Optional[T_AtomicModel] = None,
**kwargs,
):
BaseModel.__init__(self)
if atomic_model_ is not None:
self.atomic_model: T_AtomicModel = atomic_model_
else:
Expand Down

0 comments on commit 72fbcfd

Please sign in to comment.