pytorch
ccb1ff22 - Updated invalid type error message to explicitly say only float types… (#83170)

Commit
2 years ago
Updated invalid type error message to explicitly say only float types… (#83170) … allowed Fixes #82983 I added an error messages consistent with existing invalid type error messages (line 330 in torch/csrc/tensor/python_tensor.cpp). Pull Request resolved: https://github.com/pytorch/pytorch/pull/83170 Approved by: https://github.com/ezyang, https://github.com/kit1980
Author
Committer
Parents
Loading