Skip to content

Instantly share code, notes, and snippets.

@ChunML
Created December 12, 2018 02:39
Show Gist options
  • Save ChunML/37b5563e60c5cc9c0b5e29740daf16c6 to your computer and use it in GitHub Desktop.
Save ChunML/37b5563e60c5cc9c0b5e29740daf16c6 to your computer and use it in GitHub Desktop.
def one_shot_input_fn(filenames, labels):
dataset = tf.data.Dataset.from_tensor_slices(
(filenames, labels))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment