Created
April 1, 2020 17:08
-
-
Save jamescalam/7ed5dc4d4effb852595114c7bb9c885a to your computer and use it in GitHub Desktop.
Snippet of how to convert indexed data into a TF Dataset object.
This file contains hidden or 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
char_dataset = tf.data.Dataset.from_tensor_slices(data_idx) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment