TECH NEWS
Why Your PyTorch Tensor Changes When You Edit the NumPy Array
Here is a situation that is easy to run into: you load your data into a NumPy array, convert it to a PyTorch tensor for training, and change a few values in the tensor. Later you print the original array and the changes are already there. You never touched the