Skip to content

Commit

Permalink
Merge pull request #804 from dulacp:expose-tokenization-layers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 422830917
  • Loading branch information
tf-text-github-robot committed Jan 19, 2022
2 parents 35a4504 + 7341cc7 commit 9f6f906
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tensorflow_text/python/keras/layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@

# pylint: disable=wildcard-import
from tensorflow_text.python.keras.layers.todense import *
from tensorflow_text.python.keras.layers.tokenization_layers import *

# Public symbols in the "tensorflow_text.layers" package.
_allowed_symbols = [
"ToDense",
"UnicodeScriptTokenizer",
"WhitespaceTokenizer",
"WordpieceTokenizer",
]

remove_undocumented(__name__, _allowed_symbols)

0 comments on commit 9f6f906

Please sign in to comment.