"docs/git@developer.sourcefind.cn:norm/vllm.git" did not exist on "7a0b011dd51e5c6b48e8f8f5424be0995b5cb8ee"
Commit 0fab1bf1 authored by Liangzhe Yuan's avatar Liangzhe Yuan Committed by A. Unique TensorFlower
Browse files

#movinet Also output state if no pooling is performed in the movinet head.

PiperOrigin-RevId: 467322142
parent 4bfdd769
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment