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
a977b4e1
Commit
a977b4e1
authored
Jul 08, 2021
by
Philip Pham
Committed by
A. Unique TensorFlower
Jul 08, 2021
Browse files
Fix typo in TransformerEncoderBlock docstring
PiperOrigin-RevId: 383660517
parent
f3022ed8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/keras_nlp/layers/transformer_encoder_block.py
official/nlp/keras_nlp/layers/transformer_encoder_block.py
+1
-1
No files found.
official/nlp/keras_nlp/layers/transformer_encoder_block.py
View file @
a977b4e1
...
@@ -249,7 +249,7 @@ class TransformerEncoderBlock(tf.keras.layers.Layer):
...
@@ -249,7 +249,7 @@ class TransformerEncoderBlock(tf.keras.layers.Layer):
attention.
attention.
Returns:
Returns:
An ouput tensor with the same dimensions as input/query tensor.
An ou
t
put tensor with the same dimensions as input/query tensor.
"""
"""
if
isinstance
(
inputs
,
(
list
,
tuple
)):
if
isinstance
(
inputs
,
(
list
,
tuple
)):
if
len
(
inputs
)
==
2
:
if
len
(
inputs
)
==
2
:
...
...
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