In the pre 2.4 versions of TF, I allocated the space for my string tensor with TF_AllocateTensor with size (8 bytes + TF_StringEncodedSize). Then I encoded the actual string with TF_StringEncode directly to the right place in the Tensor (offset 8 bytes). This also worked with an array of strings playing cleverly the offset.
Since 2.4 the two above string functions are not available.
Can somebody give me a small hint how to do it now? What did actually StringEncode do? Shall I do something similar manually or there is another solution?
Thanks,
Zsolt
Btw. I am using Pascal, but through the c API (c_api.h and related ones)