datawhalechina / thorough-pytorch

PyTorch入门教程,在线阅读地址:https://datawhalechina.github.io/thorough-pytorch/
https://datawhalechina.github.io/thorough-pytorch/
Other
2.55k stars 417 forks source link

补充一点,torch.tensor()的话是不共享内存的,torch.as_tensor()和torch.from_numpy()是和源数据共享内存的 #4

Closed YanjiNing closed 2 years ago

LiJiaqi96 commented 2 years ago

感谢补充,已经更新第二章的jupyter notebook