title: How do you decode one-hot labels in Tensorflow?
body: <p>Been looking, but can't seem to find any examples of how to decode or convert back to a single integer from a one-hot value in TensorFlow.</p>
  
  <p>I used <code>tf.one_hot</code> and was able to train my model but am a bit confused on how to make sense of the label after my classification. My data is being fed in via a <code>TFRecords</code> file that I created. I thought about storing a text label in the file but wasn't able to get it to work. It appeared as if <code>TFRecords</code> couldn't store text string or maybe I was mistaken.</p>