Skip to content

Instantly share code, notes, and snippets.

@mohammedouahman
Created November 17, 2021 18:36
Show Gist options
  • Save mohammedouahman/05d4300ddeefefa8892d56e0786c97bc to your computer and use it in GitHub Desktop.
Save mohammedouahman/05d4300ddeefefa8892d56e0786c97bc to your computer and use it in GitHub Desktop.
model.compile(optimizer='adam',
loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
metrics=['accuracy'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment