问题
I am quite new to tensorflow, and I couldn't find what I wanted on tensorflow.org or online discussions.
I have a tensor of ASCII codes I would like to convert to a string (each tensor is a word).
In numpy I could just iterate and use chr(), but tensor object is not iterable.
Is there a function that operates on the whole tensor, or a method that does not require evaluation?
Thanks!
Python 3.6.1 and Tensorflow 1.2.1
来源:https://stackoverflow.com/questions/45593967/convert-tensorflow-tensor-of-ascii-codes-to-string