Skip to content

Instantly share code, notes, and snippets.

@VXU1230
Last active March 19, 2019 17:44
Show Gist options
  • Save VXU1230/a32aa8d2259b640dbeb98b319870514c to your computer and use it in GitHub Desktop.
Save VXU1230/a32aa8d2259b640dbeb98b319870514c to your computer and use it in GitHub Desktop.
data = tfds.load("imdb_reviews", with_info=False)
train_data, test_data = data['train'], data['test']
np_train_data = tfds.as_numpy(train_data)
np_test_data = tfds.as_numpy(test_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment