Skip to content

Instantly share code, notes, and snippets.

@Gabe-flomo
Last active September 28, 2020 19:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Gabe-flomo/ab4766860a0f859fa48229d22d46662f to your computer and use it in GitHub Desktop.
reshaped_img = img.reshape(1,224,224,3)
print(reshaped_img.shape)
(1, 224, 224, 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment