Last active
March 4, 2018 12:20
-
-
Save tgamauf/61391f93369eb2ed4b2d293b0bd7af5d to your computer and use it in GitHub Desktop.
Use of tf.python_io.TFRecordWriter
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
# "example" is of type tf.train.Example. | |
with tf.python_io.TFRecordWriter('movie_ratings.tfrecord') as writer: | |
writer.write(example.SerializeToString()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment