I would use torch::Tensor even if they’re an alias these days.
All arguments should either be const torch::Tensor& (if not modified) or torch::Tensor (no reference).
(I think there is a brief mention of this in Chapter 15 of our book.)
Best regards
Thomas