As per the title: type_as, surprisingly, also changes the tensor’s device, and not just its type.
That’s not what I expected from the documentation 96.
What is the correct way to change a tensor’s type to the type of another tensor, without changing its device?
Cheers,
Enrico