Created
March 20, 2021 21:03
-
-
Save adamoudad/e012e30edcd16090a2e8794ca5ff9044 to your computer and use it in GitHub Desktop.
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
from tensorflow.keras.datasets import imdb | |
input_dim = 20000 | |
(x_train, y_train), (x_val, y_val) = imdb.load_data(num_words=input_dim) | |
print(len(x_train), "Training sequences") | |
print(len(x_val), "Validation sequences") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment