TextVectorizationΒΆ
A preprocessing layer which maps text features to integer sequences.
Abstract Signature:
TextVectorization(max_tokens: int, standardize: str = lower_and_strip_punctuation, split: str = whitespace, ngrams: int, output_mode: str = int, output_sequence_length: int, pad_to_max_tokens: bool = False, vocabulary: List[str])
PyTorch
API:
βStrategy: Plugin (text_vectorization_shim)