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
dc7a68eb
Commit
dc7a68eb
authored
Oct 08, 2021
by
Frederick Liu
Committed by
A. Unique TensorFlower
Oct 08, 2021
Browse files
Internal change
PiperOrigin-RevId: 401894268
parent
e9355843
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/modeling/layers/masked_lm.py
official/nlp/modeling/layers/masked_lm.py
+1
-1
No files found.
official/nlp/modeling/layers/masked_lm.py
View file @
dc7a68eb
...
@@ -27,7 +27,7 @@ class MaskedLM(tf.keras.layers.Layer):
...
@@ -27,7 +27,7 @@ class MaskedLM(tf.keras.layers.Layer):
Example:
Example:
```python
```python
encoder=
keras_nlp
.BertEncoder(...)
encoder=
modeling.networks
.BertEncoder(...)
lm_layer=MaskedLM(embedding_table=encoder.get_embedding_table())
lm_layer=MaskedLM(embedding_table=encoder.get_embedding_table())
```
```
...
...
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