Skip to content

Instantly share code, notes, and snippets.

@kiddojazz
Created January 15, 2023 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiddojazz/b8b88977fbc0bac6a359571415ed73a0 to your computer and use it in GitHub Desktop.
Save kiddojazz/b8b88977fbc0bac6a359571415ed73a0 to your computer and use it in GitHub Desktop.
#Reshape the data to a 3 dimensional shape
x_train = np.reshape(x_train, (x_train.shape[0], x_train.shape[1], 1))
x_train.shape
#Now you'll notice it a 3 dimensional shape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment