摘要: import numpy as np import torch data = np.array([1,2,3]) type(data) d1 = torch.Tensor(data) #d1和data不共享,互相独立,数据类型会默认为float64 print(d1) d2 = torch.tens 阅读全文
posted @ 2020-10-09 16:43 Xycdada 阅读(772) 评论(0) 推荐(0) 编辑