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
1789c7da
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "fbd746bd065a9aaacd1ef25840cdc9ec957e8cac"
Unverified
Commit
1789c7da
authored
Apr 05, 2020
by
Patrick von Platen
Committed by
GitHub
Apr 05, 2020
Browse files
fix argument order (#3637)
parent
b809d2f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/modeling_tf_transfo_xl.py
src/transformers/modeling_tf_transfo_xl.py
+1
-1
No files found.
src/transformers/modeling_tf_transfo_xl.py
View file @
1789c7da
...
@@ -488,7 +488,7 @@ class TFTransfoXLMainLayer(tf.keras.layers.Layer):
...
@@ -488,7 +488,7 @@ class TFTransfoXLMainLayer(tf.keras.layers.Layer):
else
:
else
:
return
None
return
None
def
_update_mems
(
self
,
hids
,
mems
,
q
len
,
m
len
):
def
_update_mems
(
self
,
hids
,
mems
,
m
len
,
q
len
):
# does not deal with None
# does not deal with None
if
mems
is
None
:
if
mems
is
None
:
return
None
return
None
...
...
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