-
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 calling dataset.map on unbatched data with TextVectorization
When output_sequence_length is set, 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: 382169202
- Loading branch information
1 parent
0ba7292
commit 546bf07
Showing
2 changed files
with
49 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