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
0fab1bf1
Commit
0fab1bf1
authored
Aug 12, 2022
by
Liangzhe Yuan
Committed by
A. Unique TensorFlower
Aug 12, 2022
Browse files
#movinet Also output state if no pooling is performed in the movinet head.
PiperOrigin-RevId: 467322142
parent
4bfdd769
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/projects/movinet/modeling/movinet_layers.py
official/projects/movinet/modeling/movinet_layers.py
+1
-1
No files found.
official/projects/movinet/modeling/movinet_layers.py
View file @
0fab1bf1
...
@@ -1455,7 +1455,7 @@ class Head(tf.keras.layers.Layer):
...
@@ -1455,7 +1455,7 @@ class Head(tf.keras.layers.Layer):
if
self
.
_pool
is
not
None
:
if
self
.
_pool
is
not
None
:
outputs
=
self
.
_pool
(
x
,
states
=
states
,
output_states
=
True
)
outputs
=
self
.
_pool
(
x
,
states
=
states
,
output_states
=
True
)
else
:
else
:
outputs
=
x
outputs
=
(
x
,
states
)
return
outputs
return
outputs
...
...
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