Yes, both those seem to be options. I was hoping/thinking there surely must be a way to do it though without having to create a new tensor in the process.
When creating that new tensor I would have to be careful about dtype and device (at least when assigning to t.data?)?