掘金 AI· lucas_AI·· 2026-10-26AI 评分51
DeepMind 指出 PyTorch、JAX、TensorFlow 的 softmax 与交叉熵存在两处浮点 Bug
PyTorch、JAX 全中招:Softmax 藏了两个数值 Bug,DeepMind 用十余行代码修好了
AI 导读
Google DeepMind 的 Jonathan T. Barron 等人提交论文《A Fix for Softmax and Cross-Entropy》,称 PyTorch、JAX、TensorFlow 和教科书共用的 softmax 与交叉熵标准实现存在两个浮点数值 Bug。
来源:掘金 AI · juejin.cn