We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae224a1 commit 6b1e37dCopy full SHA for 6b1e37d
keras_nlp/layers/token_and_position_embedding.py
@@ -23,7 +23,7 @@
23
@keras.utils.register_keras_serializable(package="keras_nlp")
24
class TokenAndPositionEmbedding(keras.layers.Layer):
25
"""A layer which sums a token and position embedding.
26
-
+
27
Token and position embeddings are ways of representing words and their order
28
in a sentence. This layer creates a `keras.layers.Embedding` token embedding
29
and a `keras_nlp.layers.PositionEmbedding` position embedding and sums their
0 commit comments