String Features

Learn about the string features used in the dataset.

Chapter Goals:

  • Add the string features of a DataFrame’s row to a feature dictionary

A. Adding string features

The third type of TensorFlow Feature object that can be used in an Example object is a BytesList TensorFlow Feature. This can represent either byte values (e.g. image data) or string values. For string values, we need to convert them to the bytes type prior to initializing a BytesList ...