Translations:Softmax Function/17/en: Difference between revisions

    From Marovi AI
    (Importing a new version from external source)
    (Importing a new version from external source)
    Tag: Manual revert
    Line 1: Line 1:
    A naive implementation of softmax can overflow when {{Term|logits}} are large (e.g., <math>e^{1000}</math> is infinite in floating point). The standard fix subtracts the maximum {{Term|logits|logit}}:
    A naive implementation of softmax can overflow when logits are large (e.g., <math>e^{1000}</math> is infinite in floating point). The standard fix subtracts the maximum logit:

    Revision as of 22:02, 27 April 2026

    Information about message (contribute)
    This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
    Message definition (Softmax Function)
    A naive implementation of softmax can overflow when {{Term|logits}} are large (e.g., <math>e^{1000}</math> is infinite in floating point). The standard fix subtracts the maximum {{Term|logits|logit}}:

    A naive implementation of softmax can overflow when logits are large (e.g., $ e^{1000} $ is infinite in floating point). The standard fix subtracts the maximum logit: