Skip to content

Instantly share code, notes, and snippets.

@tgamauf
Last active March 17, 2018 19:00
Show Gist options
  • Save tgamauf/4e6beb5a30583a0bbf04e5acf4d49535 to your computer and use it in GitHub Desktop.
Save tgamauf/4e6beb5a30583a0bbf04e5acf4d49535 to your computer and use it in GitHub Desktop.
Use of tf.train.SequenceExample
# We can also add context features (short form)
customer = tf.train.Features(feature={
'Age': tf.train.Feature(int64_list=tf.train.Int64List(value=[19])),
})
example = tf.train.SequenceExample(
context=customer,
feature_lists=movies)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment