Skip to content

Commit

Permalink
Add mnish
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed Jul 9, 2024
1 parent 97d6019 commit 3572c32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchmdnet/models/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ def scatter(
"tanh": nn.Tanh,
"sigmoid": nn.Sigmoid,
"swish": Swish,
"mish": nn.Mish,
}

dtype_mapping = {16: torch.float16, 32: torch.float, 64: torch.float64}

0 comments on commit 3572c32

Please sign in to comment.