-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TextVectorization with output_sequence_length on unknown input sh…
…apes When output_sequence_length is set, for dense tensor input, we would error out when the static shape contains None on any dimension. We can fix that by using the dynamic shape to calculate padding for output_sequence_length. PiperOrigin-RevId: 382347472
- Loading branch information
1 parent
f3f23fb
commit bc48a17
Showing
2 changed files
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters