Last active
March 17, 2018 19:00
-
-
Save tgamauf/4e6beb5a30583a0bbf04e5acf4d49535 to your computer and use it in GitHub Desktop.
Use of tf.train.SequenceExample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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