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
a8bccfa4
Commit
a8bccfa4
authored
Jan 19, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 422917125
parent
3a7e01c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/modeling/layers/text_layers.py
official/nlp/modeling/layers/text_layers.py
+1
-1
No files found.
official/nlp/modeling/layers/text_layers.py
View file @
a8bccfa4
...
...
@@ -57,7 +57,7 @@ def _truncate_row_lengths(ragged_tensor: tf.RaggedTensor,
class
BertTokenizer
(
tf
.
keras
.
layers
.
Layer
):
"""Wraps BertTokenizer with pre-defined vocab as a Keras Layer.
"""Wraps
TF.Text's
BertTokenizer with pre-defined vocab as a Keras Layer.
Attributes:
tokenize_with_offsets: If true, calls
...
...
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