Learn Before
Concept
CIFAR-10 Cross-Entropy Loss Configuration
To evaluate the predictions of the ResNet-18 model on the CIFAR-10 dataset, the cross-entropy loss function is utilized. In some framework implementations, this loss function is explicitly configured to compute the unreduced loss (e.g., reduction="none"), returning individual loss values for each example rather than a single aggregated scalar.
0
1
Updated 2026-05-22
Tags
D2L
Dive into Deep Learning @ D2L