tf.keras.losses.SparseCategoricalCrossentropy

Computes the crossentropy loss between the labels and predictions.

Inherits From: Loss

Used in the notebooks

Used in the guide Used in the tutorials