交叉熵与输出梯度
↗ 单独打开
调整 Logit 与真实类别,观察 Sigmoid、Softmax、交叉熵和梯度 p−y。
分类任务
二分类 BCE
三分类 Cross-Entropy
真实类别
类别 0 的 Logit:
类别 1 的 Logit:
类别 2 的 Logit:
当前损失: