Hi, Arul. Is it possible that I use something like tensor.clone().cpu().numpy() and torch.from_numpy?
I’m trying to let the tensor and the numpy to share the same memory, so if I change the numpy, the tensor is also changed. It’s just my idea, I don’t know whether it is possible.
Many Thanks
Jiaming