mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
Tanh torch warnings
This commit is contained in:
parent
16469fedbd
commit
14cdeee75a
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ ACT2FN = {
|
|||
"relu": F.relu,
|
||||
"swish": swish,
|
||||
"gelu": gelu,
|
||||
"tanh": F.tanh,
|
||||
"tanh": torch.tanh,
|
||||
"gelu_new": gelu_new,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue