pytorch/torch/csrc/tensor
karanprime ccb1ff2233 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
2022-09-12 21:15:04 +00:00
..
python_tensor.cpp Updated invalid type error message to explicitly say only float types… (#83170) 2022-09-12 21:15:04 +00:00
python_tensor.h Make python TensorOption signatures consistent with JIT schemas (#82241) 2022-08-07 00:10:27 +00:00