You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that tf.keras.preprocessing.text.Tokenizer does not operate on tensors and is not recommended for new code.
So shouldn't we update that in the NLP course and use tf.keras.layers.TextVectorization instead?
I noticed that
tf.keras.preprocessing.text.Tokenizer
does not operate on tensors and is not recommended for new code.So shouldn't we update that in the NLP course and use
tf.keras.layers.TextVectorization
instead?https://github.com/keras-team/keras/blob/v2.15.0/keras/preprocessing/text.py#L329-L343
https://www.tensorflow.org/api_docs/python/tf/keras/layers/TextVectorization
The text was updated successfully, but these errors were encountered: