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

Do not use deprecated at::Tensor::type() #680

Closed
wants to merge 1 commit into from

Commits on Nov 1, 2024

  1. Do not use deprecated at::Tensor::type()

    Summary:
    X-link: facebookexternal/vizard#5
    
    X-link: fairinternal/egohowto#72
    
    
    Replace `tensor.type().scalarType()` with `tensor.scalar_type()` (this be able to get rid of the cast function in pytorch/pytorch#139358 )
    
    Remove extraneous braces around lambdas
    
    Reviewed By: huydhn, r-barnes
    
    Differential Revision: D65308547
    malfet authored and facebook-github-bot committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    c21582c View commit details
    Browse the repository at this point in the history