[Tips]Torch功能点记录

1. Numpy矩阵转换Tensor:

tensor_num = torch.from_numpy(numpy_arr)

原文地址:https://www.cnblogs.com/immortalBlog/p/10195151.html