Skip to content

Instantly share code, notes, and snippets.

@hadifar
Last active September 15, 2018 15:07
Show Gist options
  • Select an option

  • Save hadifar/43ee97fa75887801039b9e69dd0e7715 to your computer and use it in GitHub Desktop.

Select an option

Save hadifar/43ee97fa75887801039b9e69dd0e7715 to your computer and use it in GitHub Desktop.
dataset = tf.data.TextLineDataset("file.txt")
for line in dataset:
print(line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment