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
b136d845
"vscode:/vscode.git/clone" did not exist on "24c0a147d8b92124e75a1463812c267ef9042f9e"
Commit
b136d845
authored
Mar 03, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 432292375
parent
c3079af6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
official/nlp/modeling/layers/text_layers.py
official/nlp/modeling/layers/text_layers.py
+2
-0
No files found.
official/nlp/modeling/layers/text_layers.py
View file @
b136d845
...
...
@@ -20,8 +20,10 @@ from absl import logging
import
tensorflow
as
tf
try
:
# pytype: disable=import-error
import
tensorflow_text
as
text
from
tensorflow_text.python.ops
import
bert_tokenizer
# pytype: enable=import-error
except
ImportError
:
text
=
None
bert_tokenizer
=
None
...
...
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