Skip to content

Instantly share code, notes, and snippets.

@ChunML
Last active December 12, 2018 05:25
Show Gist options
  • Save ChunML/b47c3827350a34d12b77e188e582e7e7 to your computer and use it in GitHub Desktop.
Save ChunML/b47c3827350a34d12b77e188e582e7e7 to your computer and use it in GitHub Desktop.
train_data = tf.data.Dataset.from_tensor_slices(
(train_filenames, train_labels))
train_data = train_data.map(_parse_data).shuffle(1000).repeat().batch(4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment