Skip to content

Commit

Permalink
fix wrong typing
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Aug 4, 2022
1 parent 3ca46ca commit 0249dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omegafold/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def softmax(
x: torch.Tensor,
dim: int,
*,
dtype: typing.Optional = None,
dtype: typing.Optional[torch.dtype] = None,
in_place: bool = False
) -> torch.Tensor:
"""
Expand Down

0 comments on commit 0249dad

Please sign in to comment.