Skip to content

Using float("-inf") #5

Description

@jacobjinkelly

ptr_decoder.py uses negative infinity (i.e. logarithm of 0). It is unclear if this is best practice or if there is a better way to model the log probability of probability 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions