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
UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
#3790
source/tests/pt/model/test_autodiff.py: 2 warnings
source/tests/pt/model/test_forward_lower.py: 1 warning
source/tests/pt/model/test_null_input.py: 2 warnings
source/tests/pt/model/test_permutation.py: 1 warning
source/tests/pt/model/test_rot.py: 2 warnings
source/tests/pt/model/test_smooth.py: 2 warnings
source/tests/pt/model/test_trans.py: 2 warnings
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/torch/utils/_device.py:78: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
return func(*args, **kwargs)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: