Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iProzd committed May 9, 2024
1 parent ceaaa07 commit d2bcdbf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/descriptor/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_dim_out(self) -> int:

@abstractmethod
def get_dim_in(self) -> int:
"""Returns the output dimension."""
"""Returns the input dimension."""
pass

Check warning on line 75 in deepmd/dpmodel/descriptor/descriptor.py

View check run for this annotation

Codecov / codecov/patch

deepmd/dpmodel/descriptor/descriptor.py#L75

Added line #L75 was not covered by tests

@abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion deepmd/dpmodel/descriptor/dpa1.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def get_ntypes(self) -> int:
return self.ntypes

def get_dim_in(self) -> int:
"""Returns the output dimension."""
"""Returns the input dimension."""
return self.dim_in

Check warning on line 652 in deepmd/dpmodel/descriptor/dpa1.py

View check run for this annotation

Codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa1.py#L652

Added line #L652 was not covered by tests

def get_dim_out(self) -> int:
Expand Down
2 changes: 1 addition & 1 deletion deepmd/dpmodel/descriptor/repformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def get_ntypes(self) -> int:
return self.ntypes

Check warning on line 268 in deepmd/dpmodel/descriptor/repformers.py

View check run for this annotation

Codecov / codecov/patch

deepmd/dpmodel/descriptor/repformers.py#L268

Added line #L268 was not covered by tests

def get_dim_in(self) -> int:
"""Returns the output dimension."""
"""Returns the input dimension."""
return self.dim_in

Check warning on line 272 in deepmd/dpmodel/descriptor/repformers.py

View check run for this annotation

Codecov / codecov/patch

deepmd/dpmodel/descriptor/repformers.py#L272

Added line #L272 was not covered by tests

def get_dim_out(self) -> int:
Expand Down
2 changes: 1 addition & 1 deletion deepmd/pt/model/descriptor/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_dim_out(self) -> int:

@abstractmethod
def get_dim_in(self) -> int:
"""Returns the output dimension."""
"""Returns the input dimension."""
pass

@abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion deepmd/pt/model/descriptor/se_atten.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def get_ntypes(self) -> int:
return self.ntypes

def get_dim_in(self) -> int:
"""Returns the output dimension."""
"""Returns the input dimension."""
return self.dim_in

def get_dim_out(self) -> int:
Expand Down

0 comments on commit d2bcdbf

Please sign in to comment.