Torch功能点记录

1. Numpy矩阵转换Tensor:

tensor_num = torch.from_numpy(numpy_arr)

猜你喜欢

转载自www.cnblogs.com/immortalBlog/p/10195151.html
今日推荐