Skip to content

Commit

Permalink
remove default value of neuron
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Mar 28, 2024
1 parent d8b1967 commit 36b864d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/utils/type_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(
self,
*,
ntypes: int,
neuron: List[int] = [],
neuron: List[int],
resnet_dt: bool = False,
activation_function: str = "tanh",
precision: str = "default",
Expand Down
2 changes: 1 addition & 1 deletion deepmd/pt/model/network/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def __init__(
self,
*,
ntypes: int,
neuron: List[int] = [],
neuron: List[int],
resnet_dt: bool = False,
activation_function: str = "tanh",
precision: str = "default",
Expand Down
2 changes: 1 addition & 1 deletion deepmd/tf/utils/type_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(
self,
*,
ntypes: int,
neuron: List[int] = [],
neuron: List[int],
resnet_dt: bool = False,
activation_function: Union[str, None] = "tanh",
precision: str = "default",
Expand Down

0 comments on commit 36b864d

Please sign in to comment.