Fixed libtorch at::Tensor::print() linking error (#69615)
Summary:
There was a declaration of function at::Tensor::print() in TensorBody.h, left there during the refactoring of Tensor and TensorBase (d701357d921ef167d42c125e65b6f7da6be3ad0f). Removing it from TensorBody.h resolve the issue.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69615
Test Plan:
code below now compile and works fine (print `[CPUFloatType [3, 4, 5, 5, 5]] `)
```
#include <torch/torch.h>
int main()
{
torch::Tensor tensor = torch::randn({3, 4, 5, 5, 5});
tensor.print();
}
```
Fixes https://github.com/pytorch/pytorch/issues/69515
Reviewed By: ngimel
Differential Revision: D33020361
Pulled By: albanD
fbshipit-source-id: 190f253fb4101a4205aede3574b6e8acd19e54a1