Created
August 3, 2018 19:40
-
-
Save lxuechen/f3d3dd12f1a379ba4e4ade15c2ffcda8 to your computer and use it in GitHub Desktop.
initialize dataset object
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
dataset = tf.data.TFRecordDataset(filename) | |
dataset = dataset.repeat(epochs).map(parser).batch(batch_size) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment