Skip to content

Instantly share code, notes, and snippets.

@rafalpronko
Created February 11, 2019 05:54
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 rafalpronko/e66cdf1dc8d760cb1aed03dff1590e9d to your computer and use it in GitHub Desktop.
Save rafalpronko/e66cdf1dc8d760cb1aed03dff1590e9d to your computer and use it in GitHub Desktop.
train_images_tf = train_images_tf.reshape(train_images_tf.shape[0],
train_images_tf.shape[1],
train_images_tf.shape[2], 1)
%%time
modeltf.fit(train_images_tf, train_labels_tf, epochs=10, batch_size=32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment