You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: Pull Request resolved: meta-pytorch#1556 Fix the following: ``` # pyre-fixme[6]: For 2nd argument expected `Tensor` but got `float`. # pyre-fixme[58]: `/` is not supported for operand types `float` and `Tensor`. ``` This is due to applying Python's math operators to floats and Tensors, resulting in type confusion. Use the equivalent torch functions instead, ex: `torch.pow` instead of `**` Reviewed By: cyrjano Differential Revision: D74025088 fbshipit-source-id: 326762bd83e3c8447c4eff83c292b448e46c051c
0 commit comments