3

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

Lorenzo D'Arsiè
  • 125
  • 1
  • 10

0 Answers0