Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
14cdeee7
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "7604557e4470822754c5658a19d81aa2ae7de934"
Commit
14cdeee7
authored
Apr 16, 2020
by
Aryansh Omray
Committed by
Julien Chaumond
Apr 16, 2020
Browse files
Tanh torch warnings
parent
16469fed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/activations.py
src/transformers/activations.py
+1
-1
No files found.
src/transformers/activations.py
View file @
14cdeee7
...
...
@@ -47,7 +47,7 @@ ACT2FN = {
"relu"
:
F
.
relu
,
"swish"
:
swish
,
"gelu"
:
gelu
,
"tanh"
:
F
.
tanh
,
"tanh"
:
torch
.
tanh
,
"gelu_new"
:
gelu_new
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment