As part of using TextVectorization, I want to split a tensor string by whitespaces and colons (‘:’ character). Can anyone provide a hint on how do I do that?
Thanks.
As part of using TextVectorization, I want to split a tensor string by whitespaces and colons (‘:’ character). Can anyone provide a hint on how do I do that?
Thanks.
See the “split” argument to TextVectorization
:
It can take a callable as input so write a callable that does the split.
ref: