Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix static shape check in crd_decode #2753

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 26, 2022

  1. Fix static shape check in crd_decode

    When checking whether the shape of 'potentials' is static in crf_decode, you need to check whether potentials.shape[1].value is None, and not potentials.shape[1] (which is a Dimension object and is never equal to None).
    vankov committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    3cc13b9 View commit details
    Browse the repository at this point in the history