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
ModelZoo
ResNet50_tensorflow
Commits
7b8024c2
Commit
7b8024c2
authored
Apr 12, 2020
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 306136233
parent
7194a5cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/nlp/xlnet/xlnet_modeling.py
official/nlp/xlnet/xlnet_modeling.py
+2
-1
No files found.
official/nlp/xlnet/xlnet_modeling.py
View file @
7b8024c2
...
@@ -1019,6 +1019,7 @@ class Summarization(tf.keras.layers.Layer):
...
@@ -1019,6 +1019,7 @@ class Summarization(tf.keras.layers.Layer):
summary
=
inputs
[
0
]
summary
=
inputs
[
0
]
else
:
else
:
raise
ValueError
(
'Invalid summary type provided: %s'
%
self
.
summary_type
)
raise
ValueError
(
'Invalid summary type provided: %s'
%
self
.
summary_type
)
if
self
.
use_proj
:
summary
=
self
.
proj_layer
(
summary
)
summary
=
self
.
proj_layer
(
summary
)
summary
=
self
.
dropout_layer
(
summary
)
summary
=
self
.
dropout_layer
(
summary
)
return
summary
return
summary
...
...
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