TensorFlow 2.0 Beta is available Learn more

Module: tf.compat.v2.keras.datasets.imdb

IMDB sentiment classification dataset.

View source on GitHub

Functions

get_word_index(...): Retrieves the dictionary mapping word indices back to words.

load_data(...): Loads the IMDB dataset.