Translations:Softmax Function/17/zh: Difference between revisions
(Batch translate Softmax Function unit 17 → zh) Tag: translation |
(Batch translate Softmax Function unit 17 → zh) Tag: translation |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
当 logits | 当 {{Term|logits}} 较大时,softmax 的朴素实现可能溢出(例如,<math>e^{1000}</math> 在浮点数中为无穷大)。标准的修正是减去最大的 {{Term|logits|logit}}: | ||
Latest revision as of 23:41, 27 April 2026
当 logits 较大时,softmax 的朴素实现可能溢出(例如,$ e^{1000} $ 在浮点数中为无穷大)。标准的修正是减去最大的 logit: