Fix one error message format of torch.dot() (#41963)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41963
the error message of dot(CUDA) was copied from dot(CPU), however, they both are easy to cause confusion
Test Plan: wait for unittests
Reviewed By: ngimel
Differential Revision: D22710822
fbshipit-source-id: 565b51149ff4bee567ef0775e3f8828579565f8a
Author
Yi Huang (PyTorch)