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

quick fix #634

Closed
wants to merge 1 commit into from
Closed

quick fix #634

wants to merge 1 commit into from

Commits on Apr 28, 2022

  1. quick fix (facebookresearch#634)

    Summary:
    Pull Request resolved: facebookresearch#634
    
    When KeyedJaggedTensor doesn't have weights, `.weights()` will throw an assertion error. We should use `.weights_or_none()` to check if a KJT has weights.
    
    Reviewed By: BerenLuthien
    
    Differential Revision: D36005910
    
    fbshipit-source-id: dbef99a6aad7ecf5d9bb85ec51899053a18e70eb
    czxttkl authored and facebook-github-bot committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    99386b9 View commit details
    Browse the repository at this point in the history