Missed TensorFlow World? Check out the recap. Learn more

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

TensorFlow 2 version

IMDB sentiment classification dataset.

Functions

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

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