Hi everyone,
Does anyone know how one can cast a Tensor to a different torch::dtype() in C++?
In Python this appears to be as simple as .float() (for torch::dtype(torch::kFloat32)) and .double() (for torch::dtype(torch::kFloat64)).
Thank you.